How to get TeamCity Build trigger filter to build feature branches but not default branch

后端 未结 2 794
情深已故
情深已故 2021-02-09 08:06

I\'ve created a Team City build to build the feature branches:

Default Branch: refs/heads/development Branch Specification: refs/heads/feature/*

I have a vcs tri

2条回答
  •  猫巷女王i
    2021-02-09 08:27

    We are using TC 2017.2 and had the same problem. We could disable the automatic triggering, but you could still start it by hand, which is annoying as it will keep a build agent occupied for nothing.

    Then we found out we have the option to disable the actual build of a feature branch. If you go to Version Control Settings there is a Default Branch Settings section.

    More info here

提交回复
热议问题