[DCAE] Enable review tool validation 82/129982/2
authorvv770d <vv770d@att.com>
Tue, 19 Jul 2022 20:34:28 +0000 (20:34 +0000)
committervv770d <vv770d@att.com>
Tue, 19 Jul 2022 21:22:48 +0000 (21:22 +0000)
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>
shell/onap-gerrit-review-wrapper.sh

index ba07fe7..0195b80 100755 (executable)
@@ -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"