TeamCity swap configuration files
Posted
by Edijs
on Stack Overflow
See other posts from Stack Overflow
or by Edijs
Published on 2009-12-14T13:38:15Z
Indexed on
2010/03/23
21:03 UTC
Read the original article
Hit count: 686
Hi!
I have been using CC.NET for a while and decided to try Team City. The initial and default configuration is very easy, but how do I swap configuration files after code is checked out and before unit tests are run.
I am using TFS, NUnit. 1. When working locally I have configuration file pointing to local server. 2. On the build server TeamCity get's notification that I have checked-in code and builds new version. 3. Server runs unit tests
When on 3rd step server runs unit tests I need to swap configuration files that are pointing to other servers, not the ones I am using locally.
How do you accomplish this task in TeamCity?
Thanks, Edijs
© Stack Overflow or respective owner