From 033c6ab1be7e5ab5883927465cd5313551df5bab Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 19 Feb 2021 15:18:17 +0100 Subject: */jenkins.sh: set -e after setting clean up trap Abort the script and trigger the clean up script, whenever any of the commands below to prepare the testsuite are failing. This saves time with figuring out why suddenly all or most tests are failing, and avoids running the entire testsuite on jenkins if it's obviously not going to work. Related: OS#3208 Change-Id: Ie68da2affda8c96b3a515a857a921a05f1bf8ef7 --- ttcn3-bsc-test/jenkins.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'ttcn3-bsc-test/jenkins.sh') diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh index 460ab38..18236a2 100755 --- a/ttcn3-bsc-test/jenkins.sh +++ b/ttcn3-bsc-test/jenkins.sh @@ -9,6 +9,7 @@ docker_images_require \ "ttcn3-bsc-test" set_clean_up_trap +set -e mkdir $VOL_BASE_DIR/bsc-tester cp BSC_Tests.cfg $VOL_BASE_DIR/bsc-tester/ -- cgit v1.2.3