Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Catching missing reports exception
Browse files Browse the repository at this point in the history
  • Loading branch information
jaypoulz authored Nov 28, 2017
1 parent 4c4784e commit 752c6d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ ansiColor('xterm') {

stage ('Archive Test Output') {
archiveArtifacts artifacts: 'tests/playbooks/**/artifacts/*', fingerprint: true
junit 'tests/playbooks/**/reports/*.xml'
try {
junit 'tests/playbooks/**/reports/*.xml'
} catch (e) {
// We don't care if this step fails
}
}

/*****************************************************************/
Expand Down

0 comments on commit 752c6d4

Please sign in to comment.