<< Back to previous view

[QB-2737] Include list of commits when building a Pull Request with the GitHub and BitBucket SCM plugins
Created: 09/Jun/16  Updated: 09/Jun/16

Status: Open
Project: QuickBuild
Component/s: None
Affects Version/s: 6.1.17
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Justin Georgeson Assigned To: Robin Shen
Resolution: Unresolved Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
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


 Comments   
Comment by 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.
Generated at Thu May 16 09:15:29 UTC 2024 using JIRA 189.