fix syntax

This commit is contained in:
Roberto Cirillo 2022-10-06 14:45:12 +02:00
parent 62142b5c59
commit 89fe9dda2d
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -322,11 +322,11 @@ def deployJobs(def serviceList){
for (def record : serviceList) {
println("Processing record: "+record)
service=record.split(",");
stage(service.get(0)){
stage(service[0]){
println "Deploy on going of component: ${service.get(0)}"
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {
checkup(service.get(0), service.get(1), service.get(2));
deploy(service.get(0), service.get(1), service.get(2));
checkup(service[0], service[ 1 ], service[2]);
deploy(service[0], service[ 1 ], service[2]);
}
}
}