Git VCS root checkout rules

Hello,

I am working with a team that investigates moving from SVN to GIT. We are now assessing the support in TeamCity, version 5.1.5.

Previously with SVN minimized the number of VCS roots that need to be created and we would like to take advantage of the same thing when using GIT. To be specific, for SVN we have a main VCS root and for each build configuration associated with a branch we just configure different checkout rules. For example for branch 25 we would use the following checkout rules:
          -:.
          +:25=>.

For GIT VCS roots though, the branch is part of the actual VCS root whereas we would like it to be configurable, either by checkout rules or some other mechanism. How could we achieve this?

Best Regards,

Horace

1 comment
Comment actions Permalink

Hi,

unfortunately there is no way to do that in TeamCity 5.x. At the moment we are working on http://youtrack.jetbrains.net/issue/TW-5428. This feature allows you to specify parameters in VCS Root (e.g. in branch field), this parameter can be resolved to different values in different configurations.

0

Please sign in to leave a comment.