How to get a TeamCity Build trigger filter to create function branches, but not the default branch

I created the Team City assembly to build function branches:

Default branch: refs / heads / development Branch specification: refs / heads / feature / *

I have a vcs trigger, so it is created for every git click. But I do not want it to be built when someone clicked on the development branch.

I tried to play with the branch filter in the trigger, but any functions and developments are built on push, or none of them does.

I am using TC 9.1.1

+6
source share
1 answer

Try the following settings:
Default department: refs / heads / development
Branch Specification: +: refs / heads / feature / *

Branch Branch Filter VCS:

+:* -:<default> 
+8
source

All Articles