[JIRA] (JENKINS-49703) Pipeline GitHub Changelog No Changes on Merge

4 views
Skip to first unread message

mark_bretl@hotmail.com (JIRA)

unread,
Mar 5, 2020, 12:46:03 PM3/5/20
to jenkinsc...@googlegroups.com
Mark Bretl updated an issue
 
Jenkins / Bug JENKINS-49703
Pipeline GitHub Changelog No Changes on Merge
Change By: Mark Bretl
Summary: Pipeline Git GitHub Changelog No Changes on Merge
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

mark_bretl@hotmail.com (JIRA)

unread,
Mar 5, 2020, 12:51:02 PM3/5/20
to jenkinsc...@googlegroups.com
Mark Bretl commented on Bug JENKINS-49703
 
Re: Pipeline GitHub Changelog No Changes on Merge

Environment:
Jenkins 2.204.2
github-branch-source 2.6.0
bitbucket-branch-source 2.7.0
git 4.2.0
atlassian-jira-software-cloud 1.0.4
 
I am using Jenkins pipelines and trying to get all commits (and their messages) in a particular build to link to JIRA. I noticed notifications were missing in Jira when the reference to the ticket was in a merge commit in GitHub. This got me to see why the integration was failing. When looking at the ChangeSet log from the currentBuild, if the commit is a merge, then it does not show in the ChangeSets (hudson.plugins.git.GitChangeSet) item list.
 
I do also have an on-premise Bitbucket Server 6.9.1 and was able to verify merge commits were being added to the ChangeSet when using the bitbucket-branch-source plugin, so this feels like a limitation on the GitHub side. If merge commits from GitHub repositories are not able to be in ChangeSet logs, I am not able to have developers use the 'squash and merge' functionality for a PR.
 

Reply all
Reply to author
Forward
0 new messages