diff options
author | Nigel Babu <nigelb@redhat.com> | 2018-01-29 21:03:59 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-01-29 21:03:59 +0530 |
commit | 704165b3cbbe9aa0307ca1bf837676e2d3314e2e (patch) | |
tree | d6cccb2ee874489a5efac9c65a3af288edc03149 /build-gluster-org | |
parent | 4d6ece98e01a505704fea130682db435b11b10b2 (diff) |
Ensure that the bugzilla message has commiter
In the past, we used to use the commiter, but when we switched to
Jenkins, we switched back to Author.
Change-Id: Ic7b78cee038b93c356e0222891fe0eac831b7d9d
Diffstat (limited to 'build-gluster-org')
-rw-r--r-- | build-gluster-org/scripts/bugzilla-post.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/bugzilla-post.sh b/build-gluster-org/scripts/bugzilla-post.sh index f2d0de6..536cf1b 100644 --- a/build-gluster-org/scripts/bugzilla-post.sh +++ b/build-gluster-org/scripts/bugzilla-post.sh @@ -32,7 +32,8 @@ function update_bugzilla() bugzilla modify $bugid --comment="REVIEW: $GERRIT_CHANGE_URL ($GERRIT_CHANGE_SUBJECT) posted (#$GERRIT_PATCHSET_NUMBER) for review on $GERRIT_BRANCH by $GERRIT_PATCHSET_UPLOADER_NAME"; fi else - bugzilla modify $bugid --comment="COMMIT: $GERRIT_CHANGE_URL committed in $GERRIT_BRANCH by $GERRIT_CHANGE_OWNER with a commit message-$(echo; echo;) $(echo $GERRIT_CHANGE_COMMIT_MESSAGE | base64 -d)"; + MERGER=$(echo "$GERRIT_PATCHSET_UPLOADER" | sed 's/\\//g') + bugzilla modify $bugid --comment="COMMIT: $GERRIT_CHANGE_URL committed in $GERRIT_BRANCH by $MERGER with a commit message-$(echo; echo;) $(echo $GERRIT_CHANGE_COMMIT_MESSAGE | base64 -d)"; fi } |