diff --git a/Jenkinsfile b/Jenkinsfile index 6a371b5..bac763d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -105,7 +105,7 @@ 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 =getComponentsFromCSVDir4("${WORKSPACE}/CD") + def components =getComponentsFromCSVDir("${WORKSPACE}/CD") if (components.size() > 0) { def componentSet=components.toSet(); for (component in componentSet) { @@ -389,10 +389,11 @@ def getComponentsFromCSVDir4(def dirPath){ OLDIFS=$IFS IFS=',' [ ! -f $INPUT ] && { echo "$INPUT file not found"; exit 99; } - while read componentname version + while read artifactid version host do - echo "Name : $componentname" - echo "DOB : $version" + echo "Component name : $artifactid" + echo "Component version : $version" + echo "Target host : $host" done < $INPUT IFS=$OLDIFS done