diff --git a/Jenkinsfile b/Jenkinsfile index c516826..2ea5a72 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { } stage("unit tests") { steps { - sh "python -m pytest --junitxml=test_results.xml" + sh returnStatus: true, script: "python -m pytest --junitxml=test_results.xml" xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'test_results.xml', stopProcessingIfError: true)] } }