From 99fcbcead2b73dce9b572e9329b1bc27a7e26800 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Tue, 26 Apr 2022 16:15:35 +0200 Subject: [PATCH] fix parsing function --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1f24782..d841817 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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'))