generated from gCubeCI/Pipeline-Docker-Template
fixing parsing function
This commit is contained in:
parent
840d5ddd48
commit
cd4b7056cc
|
@ -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([
|
||||
|
|
Loading…
Reference in New Issue