How Do I Properly Configure Feature Branch CI with TeamCity

独自空忆成欢 提交于 2019-12-06 00:00:23

问题


I am currently trying to set up TeamCity to build all the branches which are not my team's main branches. I have had trouble getting this to work, and have only gotten this to function with the default branch. Our repository has the following branches: master, Daily-build, Branch-Alex, and others with similar names. I pretty much want this build configuration to run on pushes that do not include master. Here are some pictures of my configuration:

  1. VCS Root:

  1. Trigger Settings:

  1. Current Build Config:

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

Bonus Points - How do I make the names just be the branch names rather than the "ref/heads/Daily-build"?


回答1:


So, my problem was a simple typo:

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



来源:https://stackoverflow.com/questions/26739180/how-do-i-properly-configure-feature-branch-ci-with-teamcity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!