"Thorough", tutorial on setting up Jetbrain's TeamCity CI server
Solution 1
The folks at DimeCasts.net have a nice TeamCity tutorial.
Solution 2
Note that TeamCity can also use MSBuild, which can run Visual Studio .sln files. That's a great place to start when getting your feet wet - just have the build server run your build script that uses MSBuild to call your .sln file.
We check in our build script in a Build directory, and we are sure to use relative paths, so anyone can run the build. We have around 140 projects (both managed and unmanaged) plus a host of other activities (auto-generation of classes and objects from metadata for example).
Also, when setting up a CI server for the first time, prepare to become very familiar with your build. For the first several weeks, when something breaks people may blame it on the CI server instead of checking in broken code. Understanding your build and keeping it as simple as possible will help the whole team focus on integrating better.
Solution 3
I found an excellent series of blog posts on setting up TeamCity, Subversion & Web Deploy. It saved me loads of time.
Solution 4
- get nant to compile your code and run tests
- download and install teamcity
- setup your test report as a build artifact in the general settings
nunit is a good place to start because it works well with teamcity.
teamcity is really nice to setup, post back it you have any problems with it
here's some links to help
Solution 5
I've written a pretty long post on how to do this with ASP.Net and web deployment projects - sounds right up your alley (don't know if I'm allowed to post this - mods?):
Related videos on Youtube
Agile Noob
I currently work for beyond.com the employment website. I was brought on to help us make technological gains against the big players in our space. I am very interested in learning agile philosophy, and anything relating to development as a craft not just a job.
Updated on February 08, 2020Comments
-
Agile Noob about 4 years
Does anyone know where I can find a good tutorial to walk me through how to setup TeamCity CI server? I am new to unit testing and the agile philosophy of development so I could use some help getting my feet wet. I'm working with Asp.NET code using NUnit for my unit tests and would prefer a windows environment for the TeamCity server. Please note that I have no idea how to configure NANT for the build or anything else needed to have continuous builds. I just have unit tested .NET code.
-
Mike Two about 12 yearsThis answer stackoverflow.com/a/730310/23659 to another question includes a link to a good screencast.
-
-
Agile Noob over 15 yearsI'm a big fan of DimeCast's, thank you.
-
Scott Cowan over 15 yearsyou can use nant to compile a solution/project/code file level. I tend to compile at a file level since it allows me to include tests in the same project as my application code. Then I filter out *Specs.cs