diff --git a/Jenkinsfile b/Jenkinsfile index ab8ba76..f465599 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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(); }