使用颠覆构建提交 [英] Build on commit with subversion

查看:18
本文介绍了使用颠覆构建提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简单的问题.我使用 Visual Studio 并且我刚刚安装了颠覆,我如何强制使用 msbuild 构建项目,如果成功构建提交它会警告用户.我会使用 TortoiseSVN 或 VisualSVN 或 AnkhSVN(不管它叫什么),如果他们有能力强制构建内置提交(我知道这不是他们的用法,我知道它们只是用作提交 SVN 的 GUI)我想知道是否可以使用这些工具中的任何一个来做这些额外的事情.

Simple question. I use Visual studio and I've just installed subversion, how can i force the project to be build with msbuild, and if successfully build commit it else warn the user. I would use TortoiseSVN or VisualSVN or AnkhSVN (whatever it's called) if they have the ability to force build on commit built-in (I know that this is not their usage, I know they are just used as just GUI for committing to SVN) I would like to know if any of these tools can be used to do this extra thing.

总结一下,我只是在寻找一种在提交颠覆之前构建的无痛方式.

To wrap up I am just searching for a painless way to build before commit for subversion.

推荐答案

看看TeamCity的预测试提交"又名延迟提交"又名私有构建"功能.

Take a look at TeamCity's "pre-tested commit" a.k.a "delayed commit" a.k.a "private build" feature.

简而言之,您提交"到 TeamCity,TeamCity 会验证您的构建并仅在构建通过时提交到真实存储库.如果没有,你会被告知.这样做的好处是您的后备箱永远不会损坏.你可以去这里阅读更多关于它的信息 https://confluence.jetbrains.com/display/TCDL/Pre-Tested+(Delayed)+Commit

In a nutshell, you "commit" to TeamCity, TeamCity verifies your build and commits to the real repository only if the build passes. If not, you're told so. The advantage here is that your trunk is never broken. You can go here to read more about it https://confluence.jetbrains.com/display/TCDL/Pre-Tested+(Delayed)+Commit

这篇关于使用颠覆构建提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆