diff options
author | Markos Chandras <mchandras@suse.de> | 2018-02-08 09:29:09 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-02-08 09:29:09 +0000 |
commit | 6bec6e4eda96b4d938efd1d1a0702295fae2c806 (patch) | |
tree | 41327337045d564b74724cb220f76c36ede79ff0 | |
parent | 467fd46ba8e91795e7471f12edb44d68693e57ab (diff) |
jjb: xci: bifrost-verify.sh: Respect bifrost test failures
Make sure that failures during bifrost deployments are being
reported properly on Jenkins.
Change-Id: I333d27147caf7598665157c703907572e48041c0
Signed-off-by: Markos Chandras <mchandras@suse.de>
-rwxr-xr-x | jjb/xci/bifrost-verify.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/xci/bifrost-verify.sh b/jjb/xci/bifrost-verify.sh index 198f2e1c7..451f33b4b 100755 --- a/jjb/xci/bifrost-verify.sh +++ b/jjb/xci/bifrost-verify.sh @@ -21,6 +21,11 @@ git fetch $PROJECT_REPO $GERRIT_REFSPEC && sudo git checkout FETCH_HEAD cd $WORKSPACE/releng-xci cat > bifrost_test.sh<<EOF +#!/bin/bash +set -o errexit +set -o nounset +set -o pipefail + cd ~/bifrost # provision 3 VMs; xcimaster, controller, and compute ./scripts/bifrost-provision.sh |