Merge "Check compose cmd result"

This commit is contained in:
Jenkins 2015-06-08 15:04:29 +00:00 committed by Gerrit Code Review
commit 334fdc2962

View File

@ -21,6 +21,10 @@ function process {
local service=$1 local service=$1
echo "$ACTION $service" echo "$ACTION $service"
docker-compose -f ./compose/${service}.yml $COMPOSE_CMD docker-compose -f ./compose/${service}.yml $COMPOSE_CMD
if [[ $? -ne 0 ]]; then
echo "Call docker-compose -f ./compose/${service}.yml $COMPOSE_CMD fail."
exit 1
fi
} }
function process_all { function process_all {