Remove catch to see the stack trace.
This commit is contained in:
parent
9a4525381a
commit
5185b38452
|
@ -265,15 +265,15 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path, jobs) {
|
||||||
@NonCPS
|
@NonCPS
|
||||||
def parseJobs(job_file) {
|
def parseJobs(job_file) {
|
||||||
def jobs = [:]
|
def jobs = [:]
|
||||||
try {
|
//try {
|
||||||
new File(job_file).splitEachLine(',') { columns ->
|
new File(job_file).splitEachLine(',') { columns ->
|
||||||
if (columns[0].startsWith('#') || columns[0].startsWith('JobName'))
|
if (columns[0].startsWith('#') || columns[0].startsWith('JobName'))
|
||||||
return
|
return
|
||||||
jobs["${columns[0]}"] = columns[1]
|
jobs["${columns[0]}"] = columns[1]
|
||||||
}
|
}
|
||||||
} catch(Exception e) {
|
//} catch(Exception e) {
|
||||||
println "Previous job report not available"
|
// println "Previous job report not available"
|
||||||
e.printStackTrace()
|
// e.printStackTrace()
|
||||||
}
|
//}
|
||||||
jobs;
|
jobs;
|
||||||
}
|
}
|
Loading…
Reference in New Issue