generated from gCubeCI/Pipeline-Docker-Template
fixing parsing function
This commit is contained in:
parent
0af35b9518
commit
d4b7687246
|
@ -147,18 +147,6 @@ pipeline {
|
||||||
@NonCPS
|
@NonCPS
|
||||||
def parseDeployComponent(def deployList) {
|
def parseDeployComponent(def deployList) {
|
||||||
println "Going to parsing file ${deployList}"
|
println "Going to parsing file ${deployList}"
|
||||||
new File("${deployList}").splitEachLine(',') {
|
String deploy= new File("${deployList}").text
|
||||||
fields -> println fields[0] +" " + fields[1]
|
println "deploying: ${deploy}"
|
||||||
}
|
|
||||||
// def components = []
|
|
||||||
// "${deployList}".splitEachLine(',') { columns ->
|
|
||||||
// // if (columns[0].startsWith('#') || columns[0].startsWith('Component'))
|
|
||||||
// // return
|
|
||||||
// components.add([
|
|
||||||
// name : columns[1],
|
|
||||||
// version : columns[2]
|
|
||||||
// ]
|
|
||||||
// )
|
|
||||||
// }
|
|
||||||
// return components
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue