Merge pull request #39719 from thaJeztah/junit_all_stages

Jenkinsfile: collect junit.xml for all architectures
This commit is contained in:
Tibor Vass 2019-08-13 15:09:24 -07:00 committed by GitHub
commit a176d30c54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 1 deletions

16
Jenkinsfile vendored
View File

@ -121,6 +121,11 @@ pipeline {
hack/test/unit
'''
}
post {
always {
junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
}
}
}
stage("Validate vendor") {
steps {
@ -164,7 +169,6 @@ pipeline {
'''
archiveArtifacts artifacts: 'unit-bundles.tar.gz'
junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
}
cleanup {
sh 'make clean'
@ -331,6 +335,11 @@ pipeline {
hack/test/unit
'''
}
post {
always {
junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
}
}
}
stage("Integration tests") {
environment { TEST_SKIP_INTEGRATION_CLI = '1' }
@ -492,6 +501,11 @@ pipeline {
hack/test/unit
'''
}
post {
always {
junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
}
}
}
stage("Integration tests") {
environment { TEST_SKIP_INTEGRATION_CLI = '1' }