generated from gCubeCI/Pipeline-Docker-Template
fix syntax
This commit is contained in:
parent
6f9a92a330
commit
d4fff4a12d
|
@ -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 ]);
|
||||
|
|
Loading…
Reference in New Issue