generated from gCubeCI/Pipeline-Docker-Template
small test
This commit is contained in:
parent
8ed1b5b4eb
commit
578d0d1e84
|
@ -103,7 +103,7 @@ pipeline {
|
|||
// parse the report and extract the data
|
||||
// def components = getComponentsFromCSV(deployList)
|
||||
println "Going to check the deploy file in ${DEPLOY_FILE_ROOT_FOLDER}"
|
||||
def components =getComponentsFromCSVDir2("./CD")
|
||||
def components =getComponentsFromCSVDir3(${DEPLOY_FILE_ROOT_FOLDER})
|
||||
if (components.size() > 0) {
|
||||
def componentSet=components.toSet();
|
||||
for (component in componentSet) {
|
||||
|
@ -365,7 +365,8 @@ def getComponentsFromCSVDir2(def dirPath){
|
|||
@NonCPS
|
||||
def getComponentsFromCSVDir3(def dirPath){
|
||||
println "checking current folder"
|
||||
// dh = new File('.')
|
||||
dh = new File('.')
|
||||
println "current folder path: "+dh.path
|
||||
// dh.eachFileRecurse {
|
||||
// println it
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue