From 132ce1b3dbaf3e49a6e3590cee749541d0312357 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Tue, 26 Apr 2022 17:22:38 +0200 Subject: [PATCH] fixing parsing function --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 4340be2..467dc05 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -143,7 +143,7 @@ pipeline { def parseDeployComponent(def deployList) { println "Going to parsing file ${deployList}" def components = [] - "${deployList}".splitEachLine(',') { columns -> + new File("${deployList}").splitEachLine(',') { columns -> if (columns[0].startsWith('#') || columns[0].startsWith('Component')) return components.add([