diff --git a/Jenkinsfile b/Jenkinsfile index 3ba5bc40..23dca52e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -40,11 +40,11 @@ pipeline { dir("${REPO}") { dir('tests') { dir('xua_unit_tests') { - viewEnv() { - withVenv { - runWaf('.', "configure clean build --target=xcore200") - runWaf('.', "configure clean build --target=xcoreai") - stash name: 'xua_unit_tests', includes: 'bin/*xcoreai.xe, ' + withVenv { + runWaf('.', "configure clean build --target=xcore200") + runWaf('.', "configure clean build --target=xcoreai") + stash name: 'xua_unit_tests', includes: 'bin/*xcoreai.xe, ' + viewEnv() { runPython("TARGET=XCORE200 pytest -n 1") } } @@ -59,6 +59,9 @@ pipeline { agent { label 'xcore.ai-explorer' } + options { + skipDefaultCheckout() + } stages{ stage('Get View') { steps { @@ -70,10 +73,10 @@ pipeline { dir("${REPO}") { dir('tests') { dir('xua_unit_tests') { - viewEnv() { - withVenv { - unstash 'xua_unit_tests' - runPython("TARGET=XCOREAI pytest -n 1 --junitxml pytest_result.xml") + withVenv { + unstash 'xua_unit_tests' + viewEnv() { + runPython("TARGET=XCOREAI pytest -s") } } }