From c7b951a4de747a03788b4a1a3ace5bc9e155b91b Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Sun, 8 Dec 2019 15:13:53 -0500 Subject: [PATCH] Fix syntax. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 25805b2..dbc22d4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -241,7 +241,7 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path) { boolean wasSuccess(job_name) { boolean ret = false new File("$PREVIOUS_JOB_REPORT").splitEachLine(',') { columns -> - if job_name.equals(columns[0]) && columns[1].equal('SUCCESS') { + if (job_name.equals(columns[0]) && columns[1].equal('SUCCESS')) { ret = true println "NAME: ${columns[0]} STATUS: ${columns[1]}" break