VCS branch specifications for Pull Request and master only



We have a Team City instance working with a Bitbucket git repository. Currently, job is triggering on: master, feature branches and Pull Request branches.

Branch specifications:


I would like to trigger the job ONLY on pull request and master (not on feature branches).

What should I specify in branch specifications ?

Best regards,


1 comment
Comment actions Permalink

Hi Richard,

If you want the build to trigger only on specific branches, you should adjust the branch filter in your trigger settings, not the branch specification of the attached VCS root. Assuming you are using a VCS Trigger, please take a look at this article. It should help you configure everything you need.

On a side note, you may want to add the Pull Requests build feature to your build configuration instead of specifying PR branches manually in your VCS root. The feature will automatically extend the branch specification and add nice UI elements for builds on your PRs. 



Please sign in to leave a comment.