From: vv770d Date: Tue, 19 Jul 2022 20:34:28 +0000 (+0000) Subject: [DCAE] Enable review tool validation X-Git-Url: https://gerrit.onap.org/r/gitweb?p=ci-management.git;a=commitdiff_plain;h=2fea070ec9e8f7a2388c33b1972d0ed883848c0d [DCAE] Enable review tool validation Remove -E flag to fail build on any error Added -S to print out the success messages Change-Id: I27b19d9e3e87a85675b4a3b07ea753c2ba8da676 Signed-off-by: vv770d Issue-ID: DCAEGEN2-3232 Signed-off-by: vv770d --- diff --git a/shell/onap-gerrit-review-wrapper.sh b/shell/onap-gerrit-review-wrapper.sh index ba07fe724..0195b8092 100755 --- a/shell/onap-gerrit-review-wrapper.sh +++ b/shell/onap-gerrit-review-wrapper.sh @@ -32,5 +32,7 @@ rm -Rf /tmp/ogr export PATH=$PATH:/tmp/ogr/onap-gerrit-review/bin # Execute OGR -onap-gerrit-review -E git pull "https://gerrit.onap.org/r/$GERRIT_PROJECT" "$GERRIT_REFSPEC" +onap-gerrit-review -S git pull "https://gerrit.onap.org/r/$GERRIT_PROJECT" "$GERRIT_REFSPEC" +# Use -E flag for non-blocking report +# onap-gerrit-review -S -E git pull "https://gerrit.onap.org/r/$GERRIT_PROJECT" "$GERRIT_REFSPEC"