How to properly configure CI using TeamCity

I'm currently trying to configure TeamCity to create all branches that are not my main branches of my team . I am having trouble getting this to work, and I got this to work with the default branch. Our repository has the following branches: master, Daily-build, Branch-Alex and others with similar names. I really want this build configuration to be done on clicks that do not include the wizard. Here are some photos of my configuration:

  • VCS Root:

VCS Root Settings

  1. Trigger Settings:

Trigger settings

  1. Current build configuration:

Current build config

TL: DR - Is there a better tutorial on setting up building a feature branch in a team city?

Bonus points. How to make names just branch names and not "ref / heads / Daily-build"?

+6
source share
1 answer

So my problem was a simple typo:

+:ref/heads/* should be written as +:refs/heads/*

+7
source share

All Articles