build: Run unit tests on worker node

The unit tests require higher privileges so for safety run on the worker
nodes.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2020-02-17 15:07:01 +00:00
parent f21cd31b94
commit 08a68f2f0f

10
Jenkinsfile vendored
View File

@ -36,11 +36,6 @@ pipeline{
sh "scripts/dev_cli.sh tests --cargo"
}
}
stage ('Run unit tests') {
steps {
sh "scripts/dev_cli.sh tests --unit"
}
}
stage ('Run OpenAPI tests') {
steps {
sh "scripts/run_openapi_tests.sh"
@ -59,6 +54,11 @@ pipeline{
checkout scm
}
}
stage ('Run unit tests') {
steps {
sh "scripts/dev_cli.sh tests --unit"
}
}
stage ('Run integration tests') {
steps {
sh "scripts/dev_cli.sh tests --integration"