Change ClearCase ConfigSpec on TeamCity Server?

Hi there,
I am using TeamCity for the project build and ClearCase is used as the VCS. A dynamic view is created on teh build server and it works fine in the normal case. However, here comes the requirement to update to different label before each build which I currently have no idea of how to do, I cannot find any place where I could change the configspec in TeamCity.
The TeamCity service is maintained by the Company IT infrastructure so it is impossible for me to log on to the build server and maunally change the configspec of the view. we are using TeamCity 6.5 with server-side checkout mode.
Any ideas or hint to this? or it is just a mission impossible to do on server-side checkout mode? Thanks

3 comments
Comment actions Permalink

Hi,

Actually there is no special way to change config spec from TeamCity before the certain build.

But you can setup another build with a command line runner that changes config spec from command line. Though seems there is no way to run this build automatically before your build (only manually). TeamCity has mechanism of snapshot dependencies which allows to trigger the build before another one build, but I do not think it will work for this case, because the first build should affect collecting of changes for the second one.

0
Comment actions Permalink

Thanks for the reply. My understanding is the only way to change the view configspec is to do it in build script, which requires build agent have ClearCase client installed, is that correct? I cannot do it in TeamCity Server.

0
Comment actions Permalink

Yes, you are right. Maybe you can also find some additional information here. And you can vote for this issue, which, when implemented, will allow you to use config parameters in config spec and overwrite it in any build (so you can change the used branch).

0

Please sign in to leave a comment.