From e2f4794691c3076eb2343c41fec9a959b7dd082e Mon Sep 17 00:00:00 2001 From: Denes Matetelki Date: Thu, 20 Dec 2018 14:47:00 +0100 Subject: [PATCH] make it return 0 --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index fc2a366..dea7859 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,7 @@ node('master') { try { stage('Test') { - sh 'echo "Fail!"; exit 1' + sh 'echo "Fail!"; exit 0' } echo 'This will run only if successful' } catch (e) {