开发者

Can TeamCity add the project output to svn

Can I get TeamCity to add the project binaries to a svn repository after they have been built? If I开发者_Go百科 need a script, how do I kick it off after a successful build.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜