generated from gCubeCI/Pipeline-Docker-Template
fix parsing function
This commit is contained in:
parent
67744b8dc9
commit
cf35cd8459
|
@ -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],
|
||||||
|
|
Loading…
Reference in New Issue