You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by sa...@apache.org on 2019/07/19 18:30:15 UTC

[atlas] 01/05: ATLAS-3234: Add option in Precommit-Atlas to fail at end

This is an automated email from the ASF dual-hosted git repository.

sarath pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit 03ae2dc079b9d2da427cdad560dfc677a992c222
Author: Sarath Subramanian <sa...@apache.org>
AuthorDate: Wed Jul 17 12:36:09 2019 -0700

    ATLAS-3234: Add option in Precommit-Atlas to fail at end
    
    (cherry picked from commit 9f2e57f0d2717c8fd5e32fceab3edf64ce921fa8)
---
 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 2cc6062..9b10af4 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