CI: Prevent having to spin up resources when not Master branch
This commit is contained in:
parent
418899d425
commit
5a9a716ca6
1 changed files with 3 additions and 9 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -81,11 +81,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build Master') {
|
stage('Build Master') {
|
||||||
parallel {
|
|
||||||
stage('x86_64') {
|
|
||||||
when {
|
when {
|
||||||
branch 'master'
|
branch 'master'
|
||||||
}
|
}
|
||||||
|
parallel {
|
||||||
|
stage('x86_64') {
|
||||||
steps {
|
steps {
|
||||||
ansiColor('xterm') {
|
ansiColor('xterm') {
|
||||||
// Codebase
|
// Codebase
|
||||||
|
@ -127,9 +127,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('armhf') {
|
stage('armhf') {
|
||||||
when {
|
|
||||||
branch 'master'
|
|
||||||
}
|
|
||||||
agent {
|
agent {
|
||||||
label 'armhf'
|
label 'armhf'
|
||||||
}
|
}
|
||||||
|
@ -173,9 +170,6 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('arm64') {
|
stage('arm64') {
|
||||||
when {
|
|
||||||
branch 'master'
|
|
||||||
}
|
|
||||||
agent {
|
agent {
|
||||||
label 'arm64'
|
label 'arm64'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue