generated from gCubeCI/Pipeline-Docker-Template
change method involed
This commit is contained in:
parent
a0b0d90408
commit
862fa2e8b0
|
@ -126,7 +126,7 @@ pipeline {
|
|||
println("The Job is gCubeBuilder")
|
||||
}else{
|
||||
def deployFolder="CD-${env.BUILD_NUMBER}";
|
||||
deployPendingJobs(deployFolder);
|
||||
parseDeployPendingJobs(deployFolder);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -298,7 +298,7 @@ def deployPendingJobs( def deployFolder){
|
|||
|
||||
|
||||
//parse all csv files found in the local folder and deploy the components defined inside
|
||||
def parsePendingJobs( def deployFolder){
|
||||
def parseDeployPendingJobs( def deployFolder){
|
||||
println ("searching files in folder ${deployFolder}");
|
||||
def files = findFiles(glob: "${deployFolder}/*.csv")
|
||||
if (files == null){
|
||||
|
|
Loading…
Reference in New Issue