From bc1c7b319148e5623ce096127362122b6175bd38 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Fri, 30 Sep 2022 16:31:48 +0200 Subject: [PATCH] wrong print --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index d7271d4..068e302 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -108,9 +108,9 @@ pipeline { //def components =getComponentsFromCSVDir("${WORKSPACE}/CD") //def components = readCSV file: 'CD/deploy.csv' readCSV(file: 'CD/deploy.csv').each { line , count-> - if (line.startsWith('#')) + if (line.toString().startsWith('#')) return - def fields = line.split(',') + def fields = line.toString().split(',') components.add([ name : fields[0], version : fields[1],