X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fcomment-to-gerrit.sh;h=c37647b772168cd62c40c6c0c177be56a78caab7;hb=refs%2Fchanges%2F50%2F72650%2F2;hp=b4d3d66ab45b476a93417e752f41497c38cb5fcc;hpb=fabebb6e6d86dd37fa0fe47cff429ca0fc1b3ef6;p=releng%2Fglobal-jjb.git diff --git a/shell/comment-to-gerrit.sh b/shell/comment-to-gerrit.sh index b4d3d66a..c37647b7 100644 --- a/shell/comment-to-gerrit.sh +++ b/shell/comment-to-gerrit.sh @@ -8,18 +8,18 @@ # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html ############################################################################## - +echo "---> comment-to-gerrit.sh" set -xe -o pipefail if [[ -e gerrit_comment.txt ]] ; then - echo - echo "posting review comment to gerrit..." - echo - cat gerrit_comment.txt - echo - ssh -p 29418 "$GERRIT_HOST" \ - "gerrit review -p $GERRIT_PROJECT \ - -m '$(cat gerrit_comment.txt)' \ - $GERRIT_PATCHSET_REVISION \ - --notify NONE" + echo + echo "posting review comment to gerrit..." + echo + cat gerrit_comment.txt + echo + ssh -p 29418 "$GERRIT_HOST" \ + "gerrit review -p $GERRIT_PROJECT \ + -m '$(cat gerrit_comment.txt)' \ + $GERRIT_PATCHSET_REVISION \ + --notify NONE" fi