summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-05-30 15:02:20 -0400
committerOz Linden <oz@lindenlab.com>2015-05-30 15:02:20 -0400
commit67d496c7359dcde6e1c85dec26a5a92c747c2501 (patch)
treeb64d1e2fa6765980cba85fa1280ac6c993589eae
parent919bea5645d0ec66e8d21a1b859671d11f7bb4a1 (diff)
skip remaining variants once one variant build fails (fail early and often)
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 45b11d4221..66ba3d86f3 100755
--- a/build.sh
+++ b/build.sh
@@ -273,6 +273,11 @@ do
end_section "Build$variant"
fi
end_section "Do$variant"
+ if ! $succeeded
+ then
+ record_event "remaining variants skipped due to $variant failure"
+ break
+ fi
done
# build debian package