I’m just getting started with CI, and I’m trying to create some metrics on my codebase. Is there a way to get TeamCity to run the build on each revision of my source in my SVN repository from the beginning? I can only find how to do builds from now on, not from r1.
I’d also like to know if you can build every revision, not just once every polling period.
Ok, here’s a way to do it (not very straightforward but it could get it done at least):
If you for instance have your source code in subversion, you could use svnadmin dump in a script to transfer revision by revision into a new repository.
If you do this with an appropriate interval and let teamcity listen to changes in the new repo teamcity should trigger a new build for each revision.
Thinking of it, another theoretical solution without dumps would be to:
I haven’t tested any of these but hey, what could possibly go wrong? 😉