From ccae2577cb988992ceac460de10239cb51895951 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Thu, 4 Aug 2022 17:02:22 +0200 Subject: [PATCH] add some logs --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); }