从哪里开始使用 CruiseControl.NET
我正在从头开始设置我的团队的源代码控制+构建/集成流程。 我们使用 VSS 和我们内部创建的工具来执行构建过程。 我们决定转向更现代的环境。 我正在运行 SVN,并且我想设置与 CruiseControl.NET 的持续集成过程。 是否有一个好的分步入门指南可以帮助我开始了解该工具的最佳实践?
I'm setting up my team's source control + build/integration process from scratch. We were using VSS and a tool we created in-house to perform the build process. We decided to move on to a more modern environment. I have the SVN running, and I would like to set a continuous integration process with CruiseControl.NET.
Is there a good step-by-step starter guide that will get me started with the best practices of this tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
确实,文档非常可靠
Really, the documentation is pretty solid
如果您正在寻找 .NET CI,我建议您看看 Team City。 我认为它更好,并且最多可免费供 20 个用户使用。
If you're looking a .NET CI could I suggest you have a look at Team City. I think it's better and it is free for up to 20 users.
我们学到的一个技巧 - 如果您有一个相当大的团队,并且您所指的产品是某种“推动 QA 以便人们可以测试”类型的场景,请抵制每次有人检查某些内容时都构建它的冲动在您发现人们整天都在检查内容之前,它可能会导致 QA 中断一段时间并导致 QA 受到很大干扰。
对于“推送到 QA”场景,只需让它在每天晚上检测到更改时关闭即可。
对于“看看它是否构建”的场景,每小时一次是好的(同样,人们在一个规模合适的团队中过于频繁地检查内容,使得即时构建变得值得)
One tip we have learned - if you have a reasonably large team and the product you're referring to is some "push to QA so people can test" type of scenario, resist the urge to have it build every single time someone checks something in. It will likely take down QA for some amount of time and cause QA to be disrupted a lot before you figure out that people are checking stuff in all day long.
For a "push to QA" scenario, just have it go off every evening if it detects changes.
For a "see if it builds" scenario, once every hour is good (again, people check in stuff way too often on a decent sized team to make instant builds worthwhile)
以下是一些可能有用的链接:
Here are some links that might be useful:
我最近发现的关于 CI 的一个优秀资源是 Martin Fowler 写的,他是著名的“企业应用程序架构”一书的作者。
网址:http://martinfowler.com/articles/continuousIntegration.html
An excellent resource I've found for CI recently is by Martin Fowler, author of the famous "Enterprise Application Architecture" book.
URL: http://martinfowler.com/articles/continuousIntegration.html
在充分利用 CruiseControl 之前,您需要创建一个可由 msbuild 或 nant 运行的自动构建脚本。 一步完成项目构建后,您就可以开始将 CruiseControl 集成到组合中。 以下是一些可帮助您入门的资源:
Before leveraging CruiseControl to it's fullest extent, you need to create an automated build script that can be run by msbuild or nant. After you get your project building in one step, then you can start integrating CruiseControl into the mix. Here are some resources to help get you started: