Jenkins: Run musl unit and integration tests on master branch

And use a bumped up container image for that.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Samuel Ortiz 2020-04-29 13:31:56 +02:00 committed by Rob Bradford
parent ce794f7858
commit 50134969b9
2 changed files with 13 additions and 1 deletions

12
Jenkinsfile vendored
View File

@ -65,6 +65,18 @@ pipeline{
sh "scripts/dev_cli.sh tests --integration"
}
}
stage ('Run unit tests for musl') {
when { branch 'master' }
steps {
sh "scripts/dev_cli.sh tests --unit --libc musl"
}
}
stage ('Run integration tests for musl') {
when { branch 'master' }
steps {
sh "scripts/dev_cli.sh tests --integration --libc musl"
}
}
}
}
}

View File

@ -7,7 +7,7 @@
CLI_NAME="Cloud Hypervisor"
CTR_IMAGE_TAG="cloudhypervisor/dev"
CTR_IMAGE_VERSION="v1"
CTR_IMAGE_VERSION="v2"
CTR_IMAGE="${CTR_IMAGE_TAG}:${CTR_IMAGE_VERSION}"
DOCKER_RUNTIME="docker"