From 4b8aa76f4f43636e1e80076b913806c9e28e4394 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 8 Jan 2019 17:21:43 +0100 Subject: [PATCH] Deploy notification fix --- Jenkinsfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 4f44a2935..01fa2618b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,4 +74,7 @@ if (env.GIT_COMMITTER_EMAIL) { subject: "Pipeline: ${status}: ${env.JOB_NAME} (${env.BUILD_NUMBER})", body: body ) + + if (buildError) + throw buildError; }