Version Control Settings

I'm using SubVersion as my VCS, and my VCS Checkout Mode is "Automatically on Agent".  Typically my VCS Connection URL is:

     http://sourcemgt-svr/svn/trips2/dev/trunk/Projects/trips-types

However sometimes I wish to repeat a previous build, in which case the URL would need to read something like this:

     http://sourcemgt-svr/svn/trips2/dev/tags/2.0.10.745/Projects/trips-types

where 2.0.10.745 is the build number of the previous build, which is provided as a property at runtime.

Is this possible?  If so, I'm not clear how.

Can anyone give me some pointers?

2 comments
Comment actions Permalink

Hello Ken,

  I think that currently the only way is to copy your build configuration and to point the copy to the modified VCS root (or use other checkout rules).

  Currently, Teamcity doesn't allow to have variables in the VCS roots or checkout rules. We have a corresponding request in our tracker.

  Kind regards,
  KIR

0
Comment actions Permalink

Thanks for your response, KIR. I'm disappointed there is no functionality to achieve what I'm asking for.

Most of my builds are at present "Do not check out files automatically", and all checkouts are done explicitly in my ANT script.

I had hoped TeamCity could automate this for me, but it looks like I shall have to continue with the method I am currently using.

0

Please sign in to leave a comment.