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