From 793a27a3c04bd345ccc2018e0d5077e641c1ffc7 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Wed, 8 Mar 2023 16:54:59 +0100 Subject: [PATCH] set build to unstable for testing --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }