summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2017-09-01 12:16:47 +0530
committerNigel Babu <nigelb@redhat.com>2017-09-01 12:17:38 +0530
commitd40b09c94c6ecb39103baaf74f835924be2a0c6d (patch)
tree5ee7ef9c58f0ddd889275b33dca654783162e6e3
parent6734e13d2fcfd29450a6bfcd7ad6f109e3cd5943 (diff)
Use base64 decode $GERRIT_CHANGE_COMMIT_MESSAGE
See for what goes wrong https://build.gluster.org/job/bugzilla-post/310/console Change-Id: I7874f4178cfccfdf4ddf3469e136be22e5c4f34c Signed-off-by: Nigel Babu <nigelb@redhat.com>
-rw-r--r--build-gluster-org/scripts/bugzilla-post.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/bugzilla-post.sh b/build-gluster-org/scripts/bugzilla-post.sh
index e0ac7b1..2913a5e 100644
--- a/build-gluster-org/scripts/bugzilla-post.sh
+++ b/build-gluster-org/scripts/bugzilla-post.sh
@@ -31,7 +31,7 @@ function update_bugzilla()
run bugzilla modify $bugid --comment="REVISION POSTED: $GERRIT_CHANGE_URL ($GERRIT_CHANGE_SUBJECT) posted (#$GERRIT_PATCHSET_NUMBER) for review on $GERRIT_BRANCH by $GERRIT_PATCHSET_UPLOADER_NAME";
fi
else
- run bugzilla modify $bugid --comment="COMMIT: $GERRIT_CHANGE_URL committed in $GERRIT_BRANCH by $GERRIT_SUBMITTER `echo; echo -------------; echo;` $GERRIT_CHANGE_COMMIT_MESSAGE";
+ run bugzilla modify $bugid --comment="COMMIT: $GERRIT_CHANGE_URL committed in $GERRIT_BRANCH by $GERRIT_SUBMITTER $(echo; echo -------------; echo;) $(echo $GERRIT_CHANGE_COMMIT_MESSAGE | base64 -d)";
fi
}