set build to unstable for testing

This commit is contained in:
Roberto Cirillo 2023-03-08 16:54:59 +01:00
parent 85a0212959
commit 793a27a3c0
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -278,7 +278,7 @@ def deploy(String service, String version, String host){
""")
println("Deploy ended with status: "+statusCode);
if (statusCode > 0){
currentBuild.buildResult= 'FAILURE'
currentBuild.buildResult= 'UNSTABLE'
error("Ansible run failed with the following statusCode "+statusCode)
}
}