From: Michael Tremer Date: Sat, 7 Dec 2024 11:40:05 +0000 (+0000) Subject: jenkins: Build Debian packages only when we are in the master branch X-Git-Tag: 0.9.30~743 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fjenkins;p=pakfire.git jenkins: Build Debian packages only when we are in the master branch Signed-off-by: Michael Tremer --- diff --git a/Jenkinsfile b/Jenkinsfile index 43eea67cd..fa02f066b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,11 +6,6 @@ pipeline { Run the build and test suite on various distributions... */ stage("Run Tests on Multiple Distributions") { - // Disabled to be faster with testing the following stages - when { - expression { false } - } - matrix { axes { axis { @@ -271,6 +266,13 @@ pipeline { } stage("Debian Packages") { + // Only build packages when we are in the master branch + when { + expression { + env.GIT_BRANCH == "origin/master" + } + } + stages { stage("Build Debian Packages") { matrix {