From 08a68f2f0f97562d0e07eec0b24a364a250a4711 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 17 Feb 2020 15:07:01 +0000 Subject: [PATCH] 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 --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6070293e3..7373764c0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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"