fix parsing function

This commit is contained in:
Roberto Cirillo 2022-04-26 15:57:33 +02:00
parent 67744b8dc9
commit cf35cd8459
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -149,8 +149,8 @@ def parseDeployComponent(def deployList) {
println "Going to parsing file ${deployList}" println "Going to parsing file ${deployList}"
def components = [] def components = []
"${deployList}".splitEachLine(',') { columns -> "${deployList}".splitEachLine(',') { columns ->
if (columns[0].startsWith('#') || columns[0].startsWith('Component')) // if (columns[0].startsWith('#') || columns[0].startsWith('Component'))
return // return
components.add([ components.add([
name : columns[1], name : columns[1],
version : columns[2], version : columns[2],