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

This commit is contained in:
Sarath Subramanian 2019-07-17 12:36:09 -07:00
parent 8ada5d400e
commit 9f2e57f0d2
1 changed files with 5 additions and 0 deletions

View File

@ -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