You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2020/01/30 08:52:49 UTC

[isis] 04/12: ISIS-2094: reducing noise of build, ctd

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

danhaywood pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git

commit b082b55a75ab7ac829c1445a68e2328c71dd7039
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Jan 30 08:33:23 2020 +0000

    ISIS-2094: reducing noise of build, ctd
---
 scripts/ci/build-core.sh | 52 ++++++++++++++++++++++++------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/scripts/ci/build-core.sh b/scripts/ci/build-core.sh
index 8e9ef41..144d896 100644
--- a/scripts/ci/build-core.sh
+++ b/scripts/ci/build-core.sh
@@ -35,11 +35,11 @@ if [ ! -z "$REVISION" ]; then
   echo ""
   mvn versions:set \
       -DnewVersion=$REVISION \
-      | grep -v "^Progress (1)" \
-      | grep -v "Downloading from central" \
-      | grep -v "Downloaded from central" \
-      | grep -v "Downloading from DataNucleus_2" \
-      | grep -v "Downloaded from DataNucleus_2"
+      | fgrep --line-buffered -v "^Progress (1)" \
+      | fgrep --line-buffered -v "Downloading from central" \
+      | fgrep --line-buffered -v "Downloaded from central" \
+      | fgrep --line-buffered -v "Downloading from DataNucleus_2" \
+      | fgrep --line-buffered -v "Downloaded from DataNucleus_2"
 
   cd $PROJECT_ROOT_PATH/starters
   echo ""
@@ -63,22 +63,22 @@ mvn -s $SETTINGS_XML \
     $MVN_STAGES \
     $MVN_ADDITIONAL_OPTS \
     $* \
-    | grep -v "^Progress (1)" \
-    | grep -v "Downloading from central" \
-    | grep -v "Downloaded from central" \
-    | grep -v "Downloading from DataNucleus_2" \
-    | grep -v "Downloaded from DataNucleus_2" \
-    | grep -v "Uploading from gcpappenginerepo" \
-    | grep -v "Uploaded from gcpappenginerepo" \
-    | grep -v "Downloading from gcpappenginerepo" \
-    | grep -v "Downloaded from gcpappenginerepo" \
-    | grep -v "^\[INFO\] --- maven-enforcer-plugin" \
-    | grep -v "^\[INFO\] --- maven-site-plugin" \
-    | grep -v "^\[INFO\] <<< maven-source-plugin:" \
-    | grep -v "^\[INFO\] >>> maven-source-plugin" \
-    | grep -v "^\[INFO\] Using alternate deployment repository gcpappenginerepo" \
-    | grep -v "^\[INFO\] No site descriptor found: nothing to attach." \
-    | grep -v "^\[INFO\] Skipping because packaging 'jar' is not pom."
+    | fgrep --line-buffered -v "^Progress (1)" \
+    | fgrep --line-buffered -v "Downloading from central" \
+    | fgrep --line-buffered -v "Downloaded from central" \
+    | fgrep --line-buffered -v "Downloading from DataNucleus_2" \
+    | fgrep --line-buffered -v "Downloaded from DataNucleus_2" \
+    | fgrep --line-buffered -v "Uploading from gcpappenginerepo" \
+    | fgrep --line-buffered -v "Uploaded from gcpappenginerepo" \
+    | fgrep --line-buffered -v "Downloading from gcpappenginerepo" \
+    | fgrep --line-buffered -v "Downloaded from gcpappenginerepo" \
+    | fgrep --line-buffered -v "[INFO] --- maven-enforcer-plugin" \
+    | fgrep --line-buffered -v "[INFO] --- maven-site-plugin" \
+    | fgrep --line-buffered -v "[INFO] <<< maven-source-plugin:" \
+    | fgrep --line-buffered -v "[INFO] >>> maven-source-plugin" \
+    | fgrep --line-buffered -v "[INFO] Using alternate deployment repository gcpappenginerepo" \
+    | fgrep --line-buffered -v "[INFO] No site descriptor found: nothing to attach." \
+    | fgrep --line-buffered -v "[INFO] Skipping because packaging 'jar' is not pom."
 
 if [ ! -z "$REVISION" ]; then
   cd $PROJECT_ROOT_PATH/core-parent
@@ -88,11 +88,11 @@ if [ ! -z "$REVISION" ]; then
   echo ""
   echo ""
   mvn versions:revert \
-      | grep -v "^Progress (1)" \
-      | grep -v "Downloading from central" \
-      | grep -v "Downloaded from central" \
-      | grep -v "Downloading from DataNucleus_2" \
-      | grep -v "Downloaded from DataNucleus_2"
+      | fgrep --line-buffered -v "^Progress (1)" \
+      | fgrep --line-buffered -v "Downloading from central" \
+      | fgrep --line-buffered -v "Downloaded from central" \
+      | fgrep --line-buffered -v "Downloading from DataNucleus_2" \
+      | fgrep --line-buffered -v "Downloaded from DataNucleus_2"
 
   cd $PROJECT_ROOT_PATH/starters
   echo ""