From d679399af0898b959b8b84a8e8d1e2e03c4e21b5 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 31 Aug 2016 15:41:55 -0700 Subject: cherry pick from "break on every deploy error" --- tests/platform-ci/ci-build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/platform-ci/ci-build.sh b/tests/platform-ci/ci-build.sh index 38040716..63699e02 100755 --- a/tests/platform-ci/ci-build.sh +++ b/tests/platform-ci/ci-build.sh @@ -35,6 +35,9 @@ echo "CI directory: ${ROOTDIR}" echo "Provider directory: ${PROVIDERDIR}" echo "Platform directory: ${PLATFORMDIR}" +# exit if any commands returns non-zero status +set -e + # create node(s) with unique id so we can run tests in parallel export TAG="build${CI_BUILD_ID}" [ -d "${PROVIDERDIR}/tags" ] || mkdir "${PROVIDERDIR}/tags" -- cgit v1.2.3