From 04b28e7933dcf3edf91f512e7608bf11144d4dc8 Mon Sep 17 00:00:00 2001
From: Jan Tattermusch <jtattermusch@users.noreply.github.com>
Date: Mon, 15 Jun 2015 22:06:41 -0700
Subject: [PATCH] Make run_jenkins.sh actually fail on failure

---
 tools/jenkins/run_jenkins.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/jenkins/run_jenkins.sh b/tools/jenkins/run_jenkins.sh
index 57cec77424..5e8ddb92fc 100755
--- a/tools/jenkins/run_jenkins.sh
+++ b/tools/jenkins/run_jenkins.sh
@@ -68,6 +68,7 @@ then
   else
     echo "Docker exited with failure, keeping container $DOCKER_CID."
     echo "You can SSH to the worker and use 'docker start CID' and 'docker exec -i -t CID bash' to debug the problem."
+    exit 1
   fi
 
 elif [ "$platform" == "windows" ]
-- 
GitLab