Tolerate that the build report is not available.
This commit is contained in:
parent
805862f55d
commit
05fd059549
|
@ -135,7 +135,7 @@ pipeline {
|
|||
content = readFile("${previous_report_file}")
|
||||
println "JOB REPORT CONTENT: ${content}"
|
||||
jobs = parseJobs(content)
|
||||
sh "rm ${AGENT_ROOT_FOLDER}/build_commits.csv"
|
||||
sh "rm ${AGENT_ROOT_FOLDER}/build_commits.csv || true"
|
||||
sh "cp ${PREVIOUS_COMMIT_REPORT} ${AGENT_ROOT_FOLDER}/build_commits.csv"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue