Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
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 {
}
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 {