osmo-gsm-tester[master]: jenkins-run: clean up also upon error

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon May 15 10:25:04 UTC 2017


Patch Set 2:

(1 comment)

https://gerrit.osmocom.org/#/c/2608/2/contrib/jenkins-run.sh
File contrib/jenkins-run.sh:

Line 20: exit_code="1"
> Isn't the script be terminated before reaching the end due to set -e if osm
since 'if' evaluates the return code, it does not exit immediately on failure and we get a chance to clean up. I tested it and it works as intended :)


-- 
To view, visit https://gerrit.osmocom.org/2608
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I949849d85d93cb47c839cd738788cf6f9b22fc12
Gerrit-PatchSet: 2
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list