From cd4b7056cc5834a4239f01baa8aeb30e85d44ef7 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Tue, 26 Apr 2022 18:09:59 +0200 Subject: [PATCH] fixing parsing function --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index c9bd126..7963d5e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -144,7 +144,7 @@ def parseDeployComponent(def deployList) { content = readFile("${previous_report_file}") println "JOB REPORT CONTENT: ${content}" def components = [] - content.splitEachLine(',') { columns -> + content.splitEachLine(/,/) { columns -> if (columns[0].startsWith('#') || columns[0].startsWith('Component')) return components.add([