diff options
author | vv770d <vv770d@att.com> | 2022-07-19 20:34:28 +0000 |
---|---|---|
committer | vv770d <vv770d@att.com> | 2022-07-19 21:22:48 +0000 |
commit | 2fea070ec9e8f7a2388c33b1972d0ed883848c0d (patch) | |
tree | bf55263e4326f3ed91603c521fd574344c200a0f | |
parent | 7479ec1d496570003401c626c58a72ffeec265ea (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>
-rwxr-xr-x | shell/onap-gerrit-review-wrapper.sh | 4 |
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" |