aboutsummaryrefslogtreecommitdiffstats
path: root/ttcn3-hlr-test
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-hlr-test
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-hlr-test')
-rwxr-xr-xttcn3-hlr-test/jenkins.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ttcn3-hlr-test/jenkins.sh b/ttcn3-hlr-test/jenkins.sh
index 4dfb9aa..e003e03 100755
--- a/ttcn3-hlr-test/jenkins.sh
+++ b/ttcn3-hlr-test/jenkins.sh
@@ -7,6 +7,7 @@ docker_images_require \
"ttcn3-hlr-test"
set_clean_up_trap
+set -e
SUBNET=10
network_create $SUBNET