small change

This commit is contained in:
Roberto Cirillo 2022-09-16 16:28:44 +02:00
parent 9dcb9773ca
commit 8ed1b5b4eb
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -84,6 +84,8 @@ pipeline {
sh ''' sh '''
date=`date`; date=`date`;
mkdir -p ${DEPLOY_FILE_ROOT_FOLDER} mkdir -p ${DEPLOY_FILE_ROOT_FOLDER}
mkdir -p ./CD
mv -v ${DEPLOY_FILE_ROOT_FOLDER} ./CD
''' '''
} }
} }
@ -101,7 +103,7 @@ pipeline {
// parse the report and extract the data // parse the report and extract the data
// def components = getComponentsFromCSV(deployList) // def components = getComponentsFromCSV(deployList)
println "Going to check the deploy file in ${DEPLOY_FILE_ROOT_FOLDER}" println "Going to check the deploy file in ${DEPLOY_FILE_ROOT_FOLDER}"
def components =getComponentsFromCSVDir2("CD") def components =getComponentsFromCSVDir2("./CD")
if (components.size() > 0) { if (components.size() > 0) {
def componentSet=components.toSet(); def componentSet=components.toSet();
for (component in componentSet) { for (component in componentSet) {