Oure teamcity server (6.5) configured to checkout sources from SVN. For some build proceess cases I need checkout previous successfully builded version(revision). Can teamcity do this? And if can, how to configure checkout?
Asked
Active
Viewed 378 times
1 Answers
1
It sounds like you're looking for TeamCity Snapshot Dependencies, with the "Only use successful builds from suitable ones" option.
You'd end up with two build configurations:
- Performs initial builds on commit to SVN
- Has a snapshot dependency on #1, so when this build runs (either automatically - via a trigger - or manually), it grabs the same sources as the last successful build of #1.
Both of the build configurations would use the same VCS root.

Bilal
- 922
- 6
- 7
-
Doesn't the Snapshot Dependency option "Do not run new build if there is a suitable one" handle the scenario you described? I just tried running a "step 2" build in our environment and it used an existing successful "step 1" build - no rebuild. – Bilal Apr 06 '12 at 23:49
-
touche - you are correct. My issue was something else. I've removed my comment. – Joseph Lust Apr 08 '12 at 02:08