Template for VCS Roots

Hi all

In my environment I have vcs roots which are the same expect for the svn url. Is there a way to do something similar to the build configuration templates? I tried using configuration parameters where I could set the effective svn url in the project configuration but I got a "configuration error" message.

For now I need to duplicate the cvs roots and change only the name and svn url.

In case there is no way with TeamCity 5.1. Such a feature would be great.

Thanks in advance for your replies.

Regards
Philipp Doler

bbv Software Services AG
http://www.bbv.ch

2 comments

Do you change the whole url or only a part of it? If you change a part only, i.e. path to a project, then you can use checkout rules to select project and in checkout rules you can use references. For example, if you have an urls like:
http://host/project1/trunk
http://host/project2/trunk
http://host/project3/trunk

You can create single shared VCS root for url: http://host and create a template with this VCS root attached and checkout rules, like %checkout.rules%
Then in each configuration inherited from this template which works with specific project you can define custom value for checkout rules, smthg like:
+:project1/trunk=>.

You can also vote for this request: http://youtrack.jetbrains.net/issue/TW-5428
Since there are many votes, it has good chances to be addressed in the next major release.

0

Hi Pavel.

Thanks for your answer. I'm out of office till mid of may and I will give it a try when I'm back. (EDIT: I could connect through VPN and got it to work for the first project. Changing all projects to the new template now


Regards
Philipp Dolder

0

Please sign in to leave a comment.