mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
be more lenient on junit report gathering in Jenkinsfile
In case a job fails before even generating a report file. Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
This commit is contained in:
parent
4e2f39cf14
commit
0cfc1ec2bd
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -148,7 +148,6 @@ pipeline {
|
|||
|
||||
post {
|
||||
always {
|
||||
junit 'bundles/junit-report.xml'
|
||||
sh '''
|
||||
echo 'Ensuring container killed.'
|
||||
docker rm -vf docker-pr$BUILD_NUMBER || true
|
||||
|
@ -165,6 +164,7 @@ pipeline {
|
|||
'''
|
||||
|
||||
archiveArtifacts artifacts: 'unit-bundles.tar.gz'
|
||||
junit testResults: 'bundles/junit-report.xml', allowEmptyResults: true
|
||||
}
|
||||
cleanup {
|
||||
sh 'make clean'
|
||||
|
|
Loading…
Reference in a new issue