commit | cb569c3b4f124f46a82b554d03c4979914c563d4 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Tue Dec 12 13:42:20 2017 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Tue Dec 12 13:42:20 2017 -0800 |
tree | bdf913287f89cb359847ab56cde4ea26f0ab1d05 | |
parent | 8791b89306e98e8bacb5850deb06b58661afc9eb [diff] [blame] |
add exit on error preamble to all JJB shell scripts Change-Id: I3b463cc5ba5e835ac02b1a78e46418a3086f18d9
diff --git a/jjb/onos/onos-sonar.sh b/jjb/onos/onos-sonar.sh index 03d939f..c89756f 100644 --- a/jjb/onos/onos-sonar.sh +++ b/jjb/onos/onos-sonar.sh
@@ -1,4 +1,8 @@ #!/bin/bash -ex + +# exit on errors +set -eu -o pipefail + ONOS_ROOT=`pwd` . tools/build/envDefaults