From 1c504c6c64638d0548164996f5963f7599280d86 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Mon, 9 Dec 2019 16:54:48 -0500 Subject: [PATCH] Catch exception if the report is not available. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3b7d541..66c4211 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -256,6 +256,6 @@ def parseJobs(job_file) { return jobs["${columns[0]}"] = columns[1] } - } catch() {println "Previous job report not available"} + } catch(Exception e) {println "Previous job report not available"} jobs; } \ No newline at end of file