fixing parsing function

This commit is contained in:
Roberto Cirillo 2022-04-26 18:09:59 +02:00
parent 840d5ddd48
commit cd4b7056cc
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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([