From c4c5057886c4297897c3b60b6c2e78a81e8d575f Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Mon, 9 Dec 2019 23:19:00 -0500 Subject: [PATCH] Re-enable catch to see the stack trace. --- Jenkinsfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 11884d1..ae78dd2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -265,15 +265,14 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path, jobs) { @NonCPS def parseJobs(job_file) { def jobs = [:] - //try { + try { new File(job_file).splitEachLine(',') { columns -> if (columns[0].startsWith('#') || columns[0].startsWith('JobName')) return jobs["${columns[0]}"] = columns[1] } - //} catch(Exception e) { - // println "Previous job report not available" - // e.printStackTrace() - //} + } catch(Exception e) { + println "Previous job report not available" + } jobs; } \ No newline at end of file