From 17e202d9311d87834f204d376bfe650324038c11 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 25 Oct 2012 15:18:06 +0200 Subject: [PATCH] try harder to trap jenkins --- liveboot_build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/liveboot_build.sh b/liveboot_build.sh index 3ed9c35..6ac7e01 100755 --- a/liveboot_build.sh +++ b/liveboot_build.sh @@ -9,8 +9,6 @@ set_failure() { exit 1 } -set -e -#set -x export if [ "$REQUEST_ID" = "" ] ; then @@ -45,7 +43,8 @@ $SCRIPTSDIR/liveboot2db.py $JOB_NAME $BUILD_NUMBER $REQUEST_ID $BUILD_START # # trap failures # -trap set_failure INT TERM EXIT KILL STOP ABRT +set -e +trap set_failure INT TERM EXIT ERR # # build liveboot -- 2.39.5