Tolerate that the build report is not available.

This commit is contained in:
Manuele Simi 2019-12-12 22:53:06 -05:00
parent 805862f55d
commit 05fd059549
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

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