From 05fd05954966f2973ae25e571b5868eec6730288 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Thu, 12 Dec 2019 22:53:06 -0500 Subject: [PATCH] Tolerate that the build report is not available. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 86a6108..918020f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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" } }