If you are using Git with Git Flow, you usually use branches in this way:
- having a develop branch which should contain stable versions of the project
- having feature branches branched from develop (or a release branch) and merged back to it when finished. They are usually located at "feature/"
- having a master branch containing released versions of the product
- having release candidate branches which are branched from develop and are merged back to develop as well as to master at a certain point. Usually located at "release/"
For the release branches you usually want to setup a build agent. Since unity projects rarely need to maintain older versions, only one build agent is required for all the release branches.
It is possible right now but you have to go into the build agent settings and change the branch whenever you branch a new release.
Support wild cards which are checking for changes in branches containing a certain string rather then specify the exact branch.
For the example with the release branches a wild card would look like this: