Re-enable catch to see the stack trace.

This commit is contained in:
Manuele Simi 2019-12-09 23:19:00 -05:00
parent 5185b38452
commit c4c5057886
1 changed files with 4 additions and 5 deletions

9
Jenkinsfile vendored
View File

@ -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;
}