summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzilard Cserey <szilard.cserey@ericsson.com>2015-06-22 17:37:50 +0200
committerSzilard Cserey <szilard.cserey@ericsson.com>2015-06-23 13:32:20 +0200
commit244397911ce3a00ac94a6a1b40af2b3c90597855 (patch)
tree0dee3d674e2f6660e53ed705248f6d2d84d5f335
parent213fecf4e1822758797f29d0df2f0c5351cd38f9 (diff)
Fetching exit code from deploy.py in deploy.sh
JIRA: [BGS-2] Create Fuel deployment script Change-Id: I9b4f7f27fc8ad271fc9bb37f4cb1910af5068a73 Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
-rwxr-xr-xfuel/ci/deploy.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/fuel/ci/deploy.sh b/fuel/ci/deploy.sh
index 5923f5c..d5b70d0 100755
--- a/fuel/ci/deploy.sh
+++ b/fuel/ci/deploy.sh
@@ -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