diff options
author | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-06-05 17:19:12 -0700 |
---|---|---|
committer | Kiran Kamineni <kiran.k.kamineni@intel.com> | 2018-06-05 17:19:17 -0700 |
commit | c351f2e46607bac8e244b357777c24460722288b (patch) | |
tree | 6ca8314a176ae7878c8f417481182bf9e721a655 /sms-service | |
parent | b9b21c0746d97d9efca9f6e365df867e0dcd8870 (diff) |
Propagate error upward
Build was not catching error
Now throwing the error up the chain
Issue-ID: AAF-346
Change-Id: I5a1729097f573d0169c4485075183d40c8d31db2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Diffstat (limited to 'sms-service')
-rwxr-xr-x | sms-service/bin/build_image.sh | 1 | ||||
-rwxr-xr-x | sms-service/bin/build_quorum_image.sh | 1 | ||||
-rwxr-xr-x | sms-service/bin/build_sms_image.sh | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sms-service/bin/build_image.sh b/sms-service/bin/build_image.sh index a7314f7..98660c9 100755 --- a/sms-service/bin/build_image.sh +++ b/sms-service/bin/build_image.sh @@ -1,3 +1,4 @@ #!/bin/bash +set -e ./build_sms_image.sh ./build_quorum_image.sh
\ No newline at end of file diff --git a/sms-service/bin/build_quorum_image.sh b/sms-service/bin/build_quorum_image.sh index 72932e5..8440430 100755 --- a/sms-service/bin/build_quorum_image.sh +++ b/sms-service/bin/build_quorum_image.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e DIRNAME=`dirname $0` DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd` echo "DOCKER_BUILD_DIR=${DOCKER_BUILD_DIR}" diff --git a/sms-service/bin/build_sms_image.sh b/sms-service/bin/build_sms_image.sh index 2a98709..5a7817d 100755 --- a/sms-service/bin/build_sms_image.sh +++ b/sms-service/bin/build_sms_image.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e DIRNAME=`dirname $0` DOCKER_BUILD_DIR=`cd $DIRNAME/; pwd` echo "DOCKER_BUILD_DIR=${DOCKER_BUILD_DIR}" |