diff --git a/Jenkinsfile b/Jenkinsfile index 493decd..5479f1b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -279,6 +279,7 @@ def deploy(String service, String version, String host){ println("Deploy ended with status: "+statusCode); if (statusCode > 0){ currentBuild.buildResult= 'FAILURE' + error("Ansible run failed with the following statusCode "+statusCode) } }