Merge "Fetching exit code from deploy.py in deploy.sh"
authorJonas Bjurel <jonas.bjurel@ericsson.com>
Thu, 25 Jun 2015 17:06:33 +0000 (17:06 +0000)
committerGerrit Code Review <gerrit@172.30.200.206>
Thu, 25 Jun 2015 17:06:33 +0000 (17:06 +0000)
fuel/ci/deploy.sh

index 5923f5c..d5b70d0 100755 (executable)
@@ -1,9 +1,8 @@
 #!/bin/bash
+set -o errexit
 topdir=$(dirname $(readlink -f $BASH_SOURCE))
 deploydir=$(cd ${topdir}/../deploy; pwd)
-
 pushd ${deploydir} > /dev/null
 echo -e "python deploy.py $@\n"
 python deploy.py $@
-popd > /dev/null
-
+popd > /dev/null
\ No newline at end of file