Catch exception if the report is not available.
This commit is contained in:
parent
68826de759
commit
1c504c6c64
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue