summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorvv770d <vv770d@att.com>2022-07-19 20:34:28 +0000
committervv770d <vv770d@att.com>2022-07-19 21:22:48 +0000
commit2fea070ec9e8f7a2388c33b1972d0ed883848c0d (patch)
treebf55263e4326f3ed91603c521fd574344c200a0f /shell
parent7479ec1d496570003401c626c58a72ffeec265ea (diff)
[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 <vv770d@att.com> Issue-ID: DCAEGEN2-3232 Signed-off-by: vv770d <vv770d@att.com>
Diffstat (limited to 'shell')
-rwxr-xr-xshell/onap-gerrit-review-wrapper.sh4
1 files changed, 3 insertions, 1 deletions
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"