generated from gCubeCI/Pipeline-Docker-Template
set build to unstable for testing
This commit is contained in:
parent
85a0212959
commit
793a27a3c0
|
@ -278,7 +278,7 @@ def deploy(String service, String version, String host){
|
||||||
""")
|
""")
|
||||||
println("Deploy ended with status: "+statusCode);
|
println("Deploy ended with status: "+statusCode);
|
||||||
if (statusCode > 0){
|
if (statusCode > 0){
|
||||||
currentBuild.buildResult= 'FAILURE'
|
currentBuild.buildResult= 'UNSTABLE'
|
||||||
error("Ansible run failed with the following statusCode "+statusCode)
|
error("Ansible run failed with the following statusCode "+statusCode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue