TeamCity On-Premises
 
Get TeamCity On-Premises
You are viewing the documentation for an earlier version of TeamCity On-Premises.

Pull Requests

Edit page Last modified: 28 March 2022

The Pull Requests build feature lets you automatically load pull request* information and run builds on pull request branches in GitHub, Bitbucket Server, Bitbucket Cloud, GitLab, Azure DevOps, and JetBrains Space.

* Or merge requests in case of GitLab and JetBrains Space.

When adding this build feature, you need to specify a VCS root and select a VCS hosting type.
Other settings depend on the selected VCS hosting type.

This feature extends the original branch specification of VCS roots, attached to the current build configuration, to include pull requests that match the specified filtering criteria.

You can find the pull request's details displayed on the Overview tab of the Build Results:

Pull request details

If you configure a VCS trigger for your build configuration, TeamCity will automatically run builds on changes detected in the monitored branches.

See the example on how to set up TeamCity to run builds on GitHub pull requests, or watch our video tutorial.