Adjust job report path.
This commit is contained in:
parent
e0c766111b
commit
a6b6c8c7f4
|
@ -250,7 +250,7 @@ def buildComponents(args, maven_settings_file, maven_local_repo_path, resume) {
|
||||||
@NonCPS
|
@NonCPS
|
||||||
boolean wasSuccess(job_name) {
|
boolean wasSuccess(job_name) {
|
||||||
boolean ret = false
|
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')) {
|
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]}"
|
||||||
|
|
Loading…
Reference in New Issue