generated from gCubeCI/Pipeline-Docker-Template
fix parsing function
This commit is contained in:
parent
2c28e8b60d
commit
99fcbcead2
|
@ -145,7 +145,7 @@ pipeline {
|
|||
|
||||
//a non CPS method is necessary for the usage of splitEachLine()
|
||||
@NonCPS
|
||||
def parseDeployComponent(def deployList) {
|
||||
def parseDeployComponentNex(def deployList) {
|
||||
println "Going to parsing file ${deployList}"
|
||||
def components = []
|
||||
"${deployList}".splitEachLine(',') { columns ->
|
||||
|
@ -162,7 +162,7 @@ def parseDeployComponent(def deployList) {
|
|||
|
||||
//a non CPS method is necessary for the usage of splitEachLine()
|
||||
@NonCPS
|
||||
def parseBuildCommits(def text) {
|
||||
def parseDeployComponent(def deployList) {
|
||||
def components = []
|
||||
"${text}".splitEachLine(',') { columns ->
|
||||
if (columns[0].startsWith('#') || columns[0].startsWith('GroupID'))
|
||||
|
|
Loading…
Reference in New Issue