Pipeline no longer fails build if testing step fails
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2023-04-28 21:47:18 +00:00
parent 1ae59d0a8f
commit a5b7d2773e

2
Jenkinsfile vendored
View File

@ -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)]
}
}