Pipeline no longer fails build if testing step fails
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good
This commit is contained in:
parent
1ae59d0a8f
commit
a5b7d2773e
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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)]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user