add some logs

This commit is contained in:
Roberto Cirillo 2022-08-04 17:02:22 +02:00
parent 63cf98a6f0
commit ccae2577cb
1 changed files with 3 additions and 2 deletions

5
Jenkinsfile vendored
View File

@ -80,7 +80,7 @@ pipeline {
steps {
sh '''
date=`date`;
mkdir -p /${DEPLOY_FILE_ROOT_FOLDER}
mkdir -p ${DEPLOY_FILE_ROOT_FOLDER}
'''
}
}
@ -97,7 +97,7 @@ pipeline {
script {
// parse the report and extract the data
// def components = getComponentsFromCSV(deployList)
println "Going to check the deploy file in ${DEPLOY_ROOT_FOLDER}"
println "Going to check the deploy file in ${DEPLOY_FILE_ROOT_FOLDER}"
def components =getComponentsFromCSVDir("${DEPLOY_FILE_ROOT_FOLDER}")
if (components.size() > 0) {
def componentSet=components.toSet();
@ -308,6 +308,7 @@ def getComponentsFromCSVDir(def dirPath){
)
}
}
println "removing current deploy file ${file.absolutePath}"
// remove the file here if possible
file.delete();
}