History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-2737
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Justin Georgeson
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Include list of commits when building a Pull Request with the GitHub and BitBucket SCM plugins

Created: 09/Jun/16 06:20 PM   Updated: 09/Jun/16 08:27 PM
Component/s: None
Affects Version/s: 6.1.17
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Both provide an API to list the commits that are in the PR. Rather than the current model where the first build of a given branch shows an empty SCM Changes report and subsequent builds shows new commits since then, I think that Pull Request builds should at least have an option to show all the commits that are contained in the PR.

GitHub

https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request

BitBucket

https://developer.atlassian.com/static/rest/bitbucket-server/4.6.2/bitbucket-rest.html

/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/pull-requests/{pullRequestId}/commits


 All   Comments   Work Log   Change History      Sort Order:
Justin Georgeson [09/Jun/16 08:27 PM]
Also email notifications for PR builds don't give any indication which PR is being built using the default_html_notification.vm template. Would be nice to include in the email a link to the PR overview within GitHub/BitBucket.