From 68814a50d243ceb5a1108eb6c9fdf466e83048ce Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Wed, 11 Dec 2019 23:28:47 -0500 Subject: [PATCH] Comment split lines. --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 8aa4a29..c624133 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 + */ } } }