generated from gCubeCI/Pipeline-Docker-Template
add some logs
This commit is contained in:
parent
63cf98a6f0
commit
ccae2577cb
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue