fixing parsing function

This commit is contained in:
Roberto Cirillo 2022-04-26 17:22:38 +02:00
parent f81c597ee0
commit 132ce1b3db
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -143,7 +143,7 @@ pipeline {
def parseDeployComponent(def deployList) { def parseDeployComponent(def deployList) {
println "Going to parsing file ${deployList}" println "Going to parsing file ${deployList}"
def components = [] def components = []
"${deployList}".splitEachLine(',') { columns -> new File("${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([