build: Run worker and master build in parallel

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-02-07 16:56:08 +00:00
parent bfbca596ea
commit 9bf100c91c

12
Jenkinsfile vendored
View File

@ -1,7 +1,7 @@
pipeline{
agent none
stages {
stage ('Master build') {
stage ('Early checks') {
agent { node { label 'master' } }
stages {
stage ('Check for RFC/WIP builds') {
@ -18,6 +18,14 @@ pipeline{
cancelPreviousBuilds()
}
}
}
}
stage ('Build') {
failFast true
parallel {
stage ('Master build') {
agent { node { label 'master' } }
stages {
stage ('Checkout') {
steps {
checkout scm
@ -71,6 +79,8 @@ pipeline{
}
}
}
}
}
}
def cancelPreviousBuilds() {