You are viewing the documentation of TeamCity 10.x and 2017.x, which is not the most recently released version of TeamCity.
View this page in TeamCity 2018.1 documentation or refer to the listing to choose the documentation corresponding to your TeamCity version.


Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


  1. Configure the branch specification in your VCS Root ensuring that it includes pull requests. Detailed information is available in the Branch specification section of this TeamCity blog post.
  2. Add the build feature:
    - Use the default All attached VCS roots option to publish statuses for commits in all attached VCS roots
    Select - Select GitHub as the publisher and specify its connection details and credentials and test the connection:

  3. Save your settings.
  4. Commit changes to your source code and create a pull request in GitHub, then run a build with your changes in TeamCity. 

    The Commit Status Publisher will inform you on the status of the build with your pull request changes:  
    1) It will show you whether the check is in progress , whether it failed  or is successful 
    2) hovering over the commit status will display the build summary
    3) clicking the build status sign or the Details link will open the build results page in TeamCity:

    This information is also available on the Commits tab of your pull request details: 

     Similarly to the previous page, clicking the build status icon opens the build results page in the TeamCity web UI: