generated from gCubeCI/Pipeline-Docker-Template
wrong print
This commit is contained in:
parent
f3133d34f6
commit
bc1c7b3191
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue