svn - Using a variable to define a VCS root URL in Team City -


We are trying to define a teamcity project for a release tag. When we are ready to release, we tag the trunk with a tag that contains the version number. We want the building process of checkout based on this tag and when the build is completed, move the file under a name to the folder, which is based on the version number.

We are interested only in this "latest edition" project, so whenever we go to a new version, we will reconfigure the existing TC project with the new version number.

The problem I have is in the VCS Root URL Parameter (SVN). I know how to set a variable to build a build that can be used in the processes, which we can use to configure files to be moved in the file. However, I can not find a way to create a variable that we can refer to in the SVN URL.

Is there a way to get the VCS URL from variables? Is it possible to share a variable between the VCS root and the project configuration?

I do not think Team City supports it, you do not use the variable within the VCS settings As far as I found that when I tried. What I did to get around this is that I have a native parent template that defines the root VCS source, in my case SVN, each build configuration is made from this template, then you checkout rules on the right of the VCC name You can define what you are using and use the variables for the build config given on the 'Version Control Settings' tab, so I want to Construction of passenger configuration I'm able to share a common SVN root and define the characteristics of there. You can make this variable a static fixed setting by creating a configuration variable in the 'Properties and Environment Variables' screen or it can make it unique as a user parameter in the same screen but in the form of a system or environment variable Hope in that it helps.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -