From 9f2e57f0d2717c8fd5e32fceab3edf64ce921fa8 Mon Sep 17 00:00:00 2001 From: Sarath Subramanian Date: Wed, 17 Jul 2019 12:36:09 -0700 Subject: [PATCH] ATLAS-3234: Add option in Precommit-Atlas to fail at end --- dev-support/test-patch.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 2cc606238..9b10af453 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -603,6 +603,11 @@ buildAndInstall () { MVN_GOALS+=" -DskipITs" fi + if [[ $FAIL_AT_END == "true" ]]; then + echo "Fail at end flag set to true." + MVN_GOALS+=" --fail-at-end" + fi + echo "$MVN $MVN_GOALS" $MVN $MVN_GOALS