mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-31 02:25:53 +01:00 
			
		
		
		
	Fix broken develop build (#1824)
Trigger build job which updates the homebrew tap only on release build and not on develop builds. This should fix the broken develop build.
This commit is contained in:
		
							
								
								
									
										9
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -109,6 +109,15 @@ pipeline { | |||||||
|         withPublishEnivronment { |         withPublishEnivronment { | ||||||
|           gradle "-PenablePackaging publish" |           gradle "-PenablePackaging publish" | ||||||
|         } |         } | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     stage('Update tap') { | ||||||
|  |       when { | ||||||
|  |         branch pattern: 'release/*', comparator: 'GLOB' | ||||||
|  |         expression { return isBuildSuccess() } | ||||||
|  |       } | ||||||
|  |       steps { | ||||||
|         build wait: false, propagate: false, job: 'scm-manager-github/homebrew-tap/master', parameters: [ |         build wait: false, propagate: false, job: 'scm-manager-github/homebrew-tap/master', parameters: [ | ||||||
|           string(name: 'Version', value: getReleaseVersion()) |           string(name: 'Version', value: getReleaseVersion()) | ||||||
|         ] |         ] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user