Reputation: 1289
I am using teamcity 9 and trying to integrate with github. I have followed the arcticle
i have tried the various combinations
+:refs/pull/*/merge
+:refs/pull/(*/merge)
the default branch in master only
but whenever i click the 'run' button it always triggers the master build only. Can anyone please help on where am i going wrong ?
Upvotes: 2
Views: 651
Reputation: 3704
When you click run in TeamCity, it will always build from the default branch.
The articles make no mention about Triggers. Provided you've got a trigger that is of the type VCS Trigger, then this should automatically build your pull requests.
Alternatively, you can manually trigger a build of the Pull Request using a custom run and choosing the build branch to be the PR required
Hope this helps
Upvotes: 2