Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / shell / comment-to-gerrit.sh
index b4d3d66..c37647b 100644 (file)
@@ -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