Can I get TeamCity to add the project binaries to a svn repository after they have been built? If I need a script, how do I kick it off after a successful build.
Hmmm, not the most useful answer. Do you have any suggestions how?
Aidan
2010-06-11 14:36:28
We use MSBuild as build system which has a task: SvnCommit. NAnt probably has a similar task. It's not scripting, but configuring in XML in those cases...
Koen
2010-06-11 14:45:12
A:
If you are building the solution with a script language like Ant, Nant or MsBuild you can tasks or invoke the SVN command line client to commit.
If you don't use a script language, for example a Visual Studio, you can use Artifacts and Artifact Dependencies to create another Build Configuration that runs after a successful build and commits the artifacts. To trigger the second build configuration you can use a Build Dependency Trigger.
If you always want to commit I would say you should keep everything in one single Build Configuration, if you want to commit only in certain cases it may make sense to have 2 Build Configurations with dependencies.
Paulo Manuel Santos
2010-06-13 22:40:56