Jenkinsfile: Move OpenAPI validation to worker

Remove this work from the Jenkins master.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-08-13 15:56:22 +01:00
parent cf1a1ac6cf
commit 01b1412914

20
Jenkinsfile vendored
View File

@ -24,21 +24,6 @@ pipeline{
stage ('Build') {
failFast true
parallel {
stage ('Master build') {
agent { node { label 'master' } }
stages {
stage ('Checkout') {
steps {
checkout scm
}
}
stage ('Run OpenAPI tests') {
steps {
sh "scripts/run_openapi_tests.sh"
}
}
}
}
stage ('Worker build') {
agent { node { label 'bionic' } }
options {
@ -50,6 +35,11 @@ pipeline{
checkout scm
}
}
stage ('Run OpenAPI tests') {
steps {
sh "scripts/run_openapi_tests.sh"
}
}
stage ('Run unit tests') {
steps {
sh "scripts/dev_cli.sh tests --unit"