fix syntax

This commit is contained in:
Roberto Cirillo 2022-10-11 10:17:42 +02:00
parent 6f9a92a330
commit d4fff4a12d
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -325,7 +325,7 @@ def checkupRelease(String service, String version){
case "$version" in
**SNAPSHOT) echo "version contains SNAPSHOT. EXIT because this is a release build" ; exit 1;;
**latest) echo "version contains latest" ;;
* ) echo "version without SNAPSHOT. go;;
* ) echo "version without SNAPSHOT. Go ahead";;
esac
""")
}
@ -407,7 +407,7 @@ def deployReleaseJobs(def serviceList){
println("Processing record: "+record)
service=record.split(",");
stage(service[0]){
println("Processing RELEASE deploy: "+service[ 0 ])
println("Processing RELEASE deploy: service "+service[ 0 ]+" with version "+service[ 1 ])
catchError(buildResult: 'UNSTABLE', stageResult: 'FAILURE') {
checkupRelease(service[0], service[ 1 ]);
deployRelease(service[0], service[ 1 ]);