diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-02-19 15:18:17 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2021-02-26 09:32:34 +0100 |
commit | 033c6ab1be7e5ab5883927465cd5313551df5bab (patch) | |
tree | aeda3aa5bd21afc671ae7e3d5711c5bc899e2f92 /ttcn3-gbproxy-test-fr | |
parent | 12b961942af0c6761573d0632ca0e16339fb33c3 (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-gbproxy-test-fr')
-rwxr-xr-x | ttcn3-gbproxy-test-fr/jenkins.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ttcn3-gbproxy-test-fr/jenkins.sh b/ttcn3-gbproxy-test-fr/jenkins.sh index 2d1a46f..d1ecb0a 100755 --- a/ttcn3-gbproxy-test-fr/jenkins.sh +++ b/ttcn3-gbproxy-test-fr/jenkins.sh @@ -20,6 +20,7 @@ docker_images_require \ "ttcn3-gbproxy-test" set_clean_up_trap +set -e SUBNET=25 network_create $SUBNET |