generated from gCubeCI/Pipeline-Docker-Template
add exit to deploy script
This commit is contained in:
parent
4728bd16b9
commit
cf0ea75460
|
@ -356,6 +356,7 @@ def deploy(String service, String version, String host, String foo){
|
|||
println("Deploy statusCode value: "+statusCode);
|
||||
if (statusCode != 0){
|
||||
currentBuild.result = 'FAILURE'
|
||||
exit statusCode;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue