generated from gCubeCI/Pipeline-Docker-Template
find work properly. Going to pass to the original method
This commit is contained in:
parent
748351d64e
commit
670451a028
|
@ -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 =getComponentsFromCSVDir3("${WORKSPACE}/CD")
|
||||
def components =getComponentsFromCSVDir("${WORKSPACE}/CD")
|
||||
if (components.size() > 0) {
|
||||
def componentSet=components.toSet();
|
||||
for (component in componentSet) {
|
||||
|
@ -367,9 +367,9 @@ def getComponentsFromCSVDir3(def dirPath){
|
|||
println "checking current folder"
|
||||
dh = new File(dirPath)
|
||||
println "current folder path: "+dh.path
|
||||
// dh.eachFileRecurse {
|
||||
// println it
|
||||
// }
|
||||
dh.eachFileRecurse {
|
||||
println it
|
||||
}
|
||||
println "checking CD folder";
|
||||
// startDir.eachFileRecurse(FILES) {
|
||||
// if (it.name.endsWith('.csv')) {
|
||||
|
|
Loading…
Reference in New Issue