change method involed

This commit is contained in:
Roberto Cirillo 2022-10-06 14:25:22 +02:00
parent a0b0d90408
commit 862fa2e8b0
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -126,7 +126,7 @@ pipeline {
println("The Job is gCubeBuilder") println("The Job is gCubeBuilder")
}else{ }else{
def deployFolder="CD-${env.BUILD_NUMBER}"; 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 //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}"); println ("searching files in folder ${deployFolder}");
def files = findFiles(glob: "${deployFolder}/*.csv") def files = findFiles(glob: "${deployFolder}/*.csv")
if (files == null){ if (files == null){