Comment split lines.

This commit is contained in:
Manuele Simi 2019-12-11 23:28:47 -05:00
parent 90c536315e
commit 68814a50d2
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -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
*/
} }
} }
} }