From 752c6d458b16b79588355d57014425e74dbc4311 Mon Sep 17 00:00:00 2001 From: Jeremy Poulin Date: Tue, 28 Nov 2017 12:46:59 -0500 Subject: [PATCH] Catching missing reports exception --- Jenkinsfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index fa08f83..1c4b9af 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 + } } /*****************************************************************/