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