diff --git a/Jenkinsfile b/Jenkinsfile index 5479f1b..d1b3927 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) } }