Commit 9f2e57f0 by Sarath Subramanian

ATLAS-3234: Add option in Precommit-Atlas to fail at end

parent 8ada5d40
...@@ -603,6 +603,11 @@ buildAndInstall () { ...@@ -603,6 +603,11 @@ buildAndInstall () {
MVN_GOALS+=" -DskipITs" MVN_GOALS+=" -DskipITs"
fi 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" echo "$MVN $MVN_GOALS"
$MVN $MVN_GOALS $MVN $MVN_GOALS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment