From 559bd2b8c493acf17b11c4e3c69afdd43edeaed3 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 4 Jan 2017 09:56:57 +0100 Subject: [PATCH] Stop as soon as a build fails --- id-deb-build/docker-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/id-deb-build/docker-build.sh b/id-deb-build/docker-build.sh index 8ae0d73..aa39fb4 100755 --- a/id-deb-build/docker-build.sh +++ b/id-deb-build/docker-build.sh @@ -227,6 +227,7 @@ if test "${CENTOS_DIST}"; then echo Done else echo "Fail. Inspect build/centos/$dist/log" + exit 1 fi cd ../../.. done @@ -245,6 +246,7 @@ if test "${DEBIAN_DIST}"; then echo Done else echo "Fail. Inspect build/debian/$dist/log" + exit 1 fi cd ../../.. done @@ -263,6 +265,7 @@ if test "${UBUNTU_DIST}"; then echo Done else echo "Fail. Inspect build/ubuntu/$dist/log" + exit 1 fi cd ../../.. done -- 1.7.10.4