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
|
// parse the report and extract the data
|
||||||
// def components = getComponentsFromCSV(deployList)
|
// def components = getComponentsFromCSV(deployList)
|
||||||
println "Going to check the deploy file in ${DEPLOY_FILE_ROOT_FOLDER}"
|
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) {
|
if (components.size() > 0) {
|
||||||
def componentSet=components.toSet();
|
def componentSet=components.toSet();
|
||||||
for (component in componentSet) {
|
for (component in componentSet) {
|
||||||
|
@ -365,7 +365,8 @@ def getComponentsFromCSVDir2(def dirPath){
|
||||||
@NonCPS
|
@NonCPS
|
||||||
def getComponentsFromCSVDir3(def dirPath){
|
def getComponentsFromCSVDir3(def dirPath){
|
||||||
println "checking current folder"
|
println "checking current folder"
|
||||||
// dh = new File('.')
|
dh = new File('.')
|
||||||
|
println "current folder path: "+dh.path
|
||||||
// dh.eachFileRecurse {
|
// dh.eachFileRecurse {
|
||||||
// println it
|
// println it
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue