From 9dea4631ca24eb6ee5d7773c8386d10edccbb8c8 Mon Sep 17 00:00:00 2001 From: Sebastian Sdorra Date: Fri, 8 Oct 2021 11:15:01 +0200 Subject: [PATCH] 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. --- Jenkinsfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 0a0fbd4d8c..3340168610 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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()) ]