aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-bsc-test/jenkins.sh
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-02-19 15:18:17 +0100
committerOliver Smith <osmith@sysmocom.de>2021-02-26 09:32:34 +0100
commit033c6ab1be7e5ab5883927465cd5313551df5bab (patch)
treeaeda3aa5bd21afc671ae7e3d5711c5bc899e2f92 /ttcn3-bsc-test/jenkins.sh
parent12b961942af0c6761573d0632ca0e16339fb33c3 (diff)
*/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
Diffstat (limited to 'ttcn3-bsc-test/jenkins.sh')
-rwxr-xr-xttcn3-bsc-test/jenkins.sh1
1 files changed, 1 insertions, 0 deletions
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/