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:
Sebastian Sdorra
2021-10-08 11:15:01 +02:00
committed by GitHub
parent 3a7e4845a1
commit 9dea4631ca

9
Jenkinsfile vendored
View File

@@ -109,6 +109,15 @@ pipeline {
withPublishEnivronment {
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: [
string(name: 'Version', value: getReleaseVersion())
]