readCSV file

This commit is contained in:
Roberto Cirillo 2022-09-30 15:35:00 +02:00
parent ccb34365ca
commit c32ef76a54
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -105,7 +105,8 @@ pipeline {
// parse the report and extract the data
// def components = getComponentsFromCSV(deployList)
println "Going to check the deploy file in ${DEPLOY_FILE_ROOT_FOLDER}"
def components =getComponentsFromCSVDir("${WORKSPACE}/CD")
//def components =getComponentsFromCSVDir("${WORKSPACE}/CD")
def components = readCSV file: 'CD/deploy.csv'
if (components.size() > 0) {
def componentSet=components.toSet();
for (component in componentSet) {