From a6b6c8c7f4b3126f10a03fe9129ca1fbee5f1126 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Sun, 8 Dec 2019 23:10:36 -0500 Subject: [PATCH] Adjust job report path. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7189e75..b096518 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -250,7 +250,7 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path, resume) { @NonCPS boolean wasSuccess(job_name) { boolean ret = false - new File("$PREVIOUS_JOB_REPORT").splitEachLine(',') { columns -> + new File("${agent_root_folder}/build_jobs.${env.BUILD_NUMBER -1}.csv").splitEachLine(',') { columns -> if (job_name.equals(columns[0]) && columns[1].equal('SUCCESS')) { ret = true println "NAME: ${columns[0]} STATUS: ${columns[1]}"