mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-31 18:15:20 +00:00
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:
parent
cf1a1ac6cf
commit
01b1412914
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -24,21 +24,6 @@ pipeline{
|
|||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
failFast true
|
failFast true
|
||||||
parallel {
|
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') {
|
stage ('Worker build') {
|
||||||
agent { node { label 'bionic' } }
|
agent { node { label 'bionic' } }
|
||||||
options {
|
options {
|
||||||
@ -50,6 +35,11 @@ pipeline{
|
|||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage ('Run OpenAPI tests') {
|
||||||
|
steps {
|
||||||
|
sh "scripts/run_openapi_tests.sh"
|
||||||
|
}
|
||||||
|
}
|
||||||
stage ('Run unit tests') {
|
stage ('Run unit tests') {
|
||||||
steps {
|
steps {
|
||||||
sh "scripts/dev_cli.sh tests --unit"
|
sh "scripts/dev_cli.sh tests --unit"
|
||||||
|
Loading…
Reference in New Issue
Block a user