Fix syntax.
This commit is contained in:
parent
48f8d98fe7
commit
c7b951a4de
|
@ -241,7 +241,7 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path) {
|
||||||
boolean wasSuccess(job_name) {
|
boolean wasSuccess(job_name) {
|
||||||
boolean ret = false
|
boolean ret = false
|
||||||
new File("$PREVIOUS_JOB_REPORT").splitEachLine(',') { columns ->
|
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
|
ret = true
|
||||||
println "NAME: ${columns[0]} STATUS: ${columns[1]}"
|
println "NAME: ${columns[0]} STATUS: ${columns[1]}"
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue