My project in TeamCity contains 2 places where I can set branch of VCS to be build.
(a) First one is inside the Edit Configuration Settings -> Version Control Settings menu item.
(b) Second one is inside the Trigger settings.
1. We got 2 places with the same setting. How does it work? May these settings clash with each other, or they expand each other, or they may exclude each other?
2. Which branch is built if I press Run button?
Here is my use-case.
I have a scheduled trigger in my build which tracks several branches described in (a) . I want to add some new branch to my project and if I press Run button - I want that new branch to be build.
3. Where should I add new branch description - to global settings in (a) only? Shoudl I do something else?
4. And if I want this branch to be build on schedule - should I add it to (a) and (b) also?
Thanks for your interest to my topic!