wrong print

This commit is contained in:
Roberto Cirillo 2022-09-30 16:31:48 +02:00
parent f3133d34f6
commit bc1c7b3191
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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],