From c351f2e46607bac8e244b357777c24460722288b Mon Sep 17 00:00:00 2001 From: Kiran Kamineni Date: Tue, 5 Jun 2018 17:19:12 -0700 Subject: 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 --- sms-service/bin/build_image.sh | 1 + sms-service/bin/build_quorum_image.sh | 1 + sms-service/bin/build_sms_image.sh | 1 + 3 files changed, 3 insertions(+) (limited to 'sms-service') 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}" -- cgit 1.2.3-korg