CI: Prevent having to spin up resources when not Master branch

This commit is contained in:
Jamie Curnow 2019-03-01 20:12:49 +10:00
parent 418899d425
commit 5a9a716ca6

12
Jenkinsfile vendored
View File

@ -81,11 +81,11 @@ pipeline {
}
}
stage('Build Master') {
when {
branch 'master'
}
parallel {
stage('x86_64') {
when {
branch 'master'
}
steps {
ansiColor('xterm') {
// Codebase
@ -127,9 +127,6 @@ pipeline {
}
}
stage('armhf') {
when {
branch 'master'
}
agent {
label 'armhf'
}
@ -173,9 +170,6 @@ pipeline {
}
}
stage('arm64') {
when {
branch 'master'
}
agent {
label 'arm64'
}