fix parsing function

This commit is contained in:
Roberto Cirillo 2022-04-26 16:15:35 +02:00
parent 2c28e8b60d
commit 99fcbcead2
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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'))