You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2017/05/06 21:18:58 UTC

incubator-unomi git commit: Minor change : make sure the scripts stop if Maven build fails.

Repository: incubator-unomi
Updated Branches:
  refs/heads/master 97581032c -> 87e8763ed


Minor change : make sure the scripts stop if Maven build fails.

Signed-off-by: Serge Huber <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/87e8763e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/87e8763e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/87e8763e

Branch: refs/heads/master
Commit: 87e8763ed45497ecd15ab4e8e688f1322c8fab5e
Parents: 9758103
Author: Serge Huber <sh...@apache.org>
Authored: Sat May 6 23:18:52 2017 +0200
Committer: Serge Huber <sh...@apache.org>
Committed: Sat May 6 23:18:52 2017 +0200

----------------------------------------------------------------------
 buildAndRun.sh        | 4 ++++
 buildAndRunNoTests.sh | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/87e8763e/buildAndRun.sh
----------------------------------------------------------------------
diff --git a/buildAndRun.sh b/buildAndRun.sh
index 4037f3a..e7128f9 100755
--- a/buildAndRun.sh
+++ b/buildAndRun.sh
@@ -24,6 +24,10 @@ if [ -f "$DIRNAME/setenv.sh" ]; then
   . "$DIRNAME/setenv.sh"
 fi
 mvn clean install -P integration-tests,performance-tests,rat
+if [ $? -ne 0 ]
+then
+    exit 1;
+fi
 pushd package/target
 echo Uncompressing Unomi package...
 tar zxvf unomi-$UNOMI_VERSION.tar.gz

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/87e8763e/buildAndRunNoTests.sh
----------------------------------------------------------------------
diff --git a/buildAndRunNoTests.sh b/buildAndRunNoTests.sh
index fa53832..4bb0028 100755
--- a/buildAndRunNoTests.sh
+++ b/buildAndRunNoTests.sh
@@ -24,6 +24,10 @@ if [ -f "$DIRNAME/setenv.sh" ]; then
   . "$DIRNAME/setenv.sh"
 fi
 mvn clean install -P \!integration-tests,\!performance-tests,rat
+if [ $? -ne 0 ]
+then
+    exit 1;
+fi
 pushd package/target
 echo Uncompressing Unomi package...
 tar zxvf unomi-$UNOMI_VERSION.tar.gz