Empty JUnit results are not allowed

This commit is contained in:
Waldemar Zurowski 2020-07-21 15:55:56 +01:00
parent 35d0d5c510
commit 5ee2626530
3 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ pipeline {
post {
always {
archiveArtifacts artifacts: '**/pod-logs/**/*.log', fingerprint: false
junit testResults: '**/build/test-results-xml/**/*.xml', allowEmptyResults: true
junit testResults: '**/build/test-results-xml/**/*.xml'
}
cleanup {
deleteDir() /* clean up our workspace */

View File

@ -177,7 +177,7 @@ pipeline {
post {
always {
archiveArtifacts artifacts: '**/pod-logs/**/*.log', fingerprint: false
junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true, allowEmptyResults: true
junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true
script {
try {

2
Jenkinsfile vendored
View File

@ -79,7 +79,7 @@ pipeline {
post {
always {
archiveArtifacts artifacts: '**/pod-logs/**/*.log', fingerprint: false
junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true, allowEmptyResults: true
junit testResults: '**/build/test-results-xml/**/*.xml', keepLongStdio: true
}
cleanup {
deleteDir() /* clean up our workspace */