Comment split lines.
This commit is contained in:
parent
90c536315e
commit
68814a50d2
|
@ -139,15 +139,16 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
sh 'cat ${PREVIOUS_JOB_REPORT}'
|
sh 'cat ${PREVIOUS_JOB_REPORT}'
|
||||||
content = readFile ${previous_report_file}
|
content = readFile("${previous_report_file}")
|
||||||
println "CONTENT ${content}"
|
println "CONTENT ${content}"
|
||||||
content.splitEachLine(',') { columns ->
|
/*"${content}".splitEachLine(',') { columns ->
|
||||||
if (columns[0].startsWith('#') || columns[0].startsWith('JobName'))
|
if (columns[0].startsWith('#') || columns[0].startsWith('JobName'))
|
||||||
return
|
return
|
||||||
jobs["${columns[0]}"] = columns[1]
|
jobs["${columns[0]}"] = columns[1]
|
||||||
}
|
}
|
||||||
for (job in jobs)
|
for (job in jobs)
|
||||||
println job
|
println job
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue