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