我们正处于新网络项目的早期阶段。 随着时间的推移,该项目将不断发展并变得复杂。 从一开始,我们将使用 JUnit 进行单元和集成测试,并使用 HtmlUnit 进行系统测试。 如果事实证明它们对我们有价值,我们也可能会在构建过程中添加一些静态代码分析工具。
如果您正在或曾经参与过使用持续集成的项目。 您使用过哪些软件?您认为它有效果吗? 您推荐哪种软件用于 Java Web 项目的持续集成?
We're in an early stage of a new web project. The project will grow and become complex over time. From the beginning we will have unit and integration tests using JUnit and system tests using HtmlUnit. We might also add some static code analysis tools to the build process if they prove to be of value to us.
If you're or have been involved in a project which uses continuous integration. Which software do/did you use and do you think it has payed off? Which software would you recommend for continuous integration of a Java web project?
发布评论
评论(8)
我在 Java 项目中使用了 CruiseControl ,以及 CruiseControl.NET 用于 .NET 项目,两者都工作得很好。
我为一个已经运行了 4 年、有数十名开发人员参与的项目设置了 CruiseControl,虽然在此期间对配置进行了多次调整,但它运行得很好。 (我不再积极支持该项目,但我仍然与支持该项目的人一起工作。)
在我目前的职位上,CruiseControl.NET 用于支持多个 .Net 项目,并且已经使用了 2 年多。
I've used CruiseControl for Java projects, and CruiseControl.NET for .NET projects, and both work great.
I setup CruiseControl for a project that's been running for 4 years with several dozen developers, and while the configuration has been tweaked several times in the interim, it works great. (I don't actively support that project anymore, but I still work with the people who do.)
In my current position, CruiseControl.NET is being used to support several .Net projects, and has been used for 2+ years.
配置完成后,CruiseControl 就能正常工作。
http://cruisecontrol.sourceforge.net/
CruiseControl works reasonably well once you get it configured.
http://cruisecontrol.sourceforge.net/
CruiseControl
CruiseControl
同时使用过 CruiseControl 和 Hudson ,我可以推荐 Hudson,因为它是两者中更容易配置的一个(可以通过 Web GUI 轻松完成,但也支持直接配置文件编辑)。
Having used both CruiseControl and Hudson , I can recommend Hudson as the easier of the two to config (easily done via the web GUI, though direct configfile editing is also supported).
哈德逊伟大而自由:
http://hudson.dev.java.net/
竹子很棒,但价格 $$
http://www.atlassian.com/software/bamboo/
Hudson is great and free:
http://hudson.dev.java.net/
Bamboo is great but costs $$
http://www.atlassian.com/software/bamboo/
JetBrains TeamCity Pro。 http://www.jetbrains.com/teamcity/index.html
专业版不需要任何许可证密钥。 如果未在程序中输入许可证密钥,TeamCity 将自动开始与 Professional Edition Server 一起运行。 单个 Professional Edition Server 安装授予设置权限:
3 个构建代理,无需额外费用
20 个用户帐户
20 种构建配置
JetBrains TeamCity Pro. http://www.jetbrains.com/teamcity/index.html
The Professional Edition does not require any license key. TeamCity starts running automatically with the Professional Edition Server if no license key is entered in the program. A single Professional Edition Server installation grants the rights to setup:
3 Build Agents at no additional cost
20 User Accounts
20 Build Configurations
哈德森(最好的)。 Hudson 网站
Hudson (the best). Hudson Website
我对 Atlassian's Bamboo 非常满意。 尽管它是商业版,但 Starter Pack 许可证对于 10 个用户来说只需 10 美元。 它有很好的文档记录,易于设置且灵活。
I've been very pleased with Atlassian's Bamboo. Even though it is commercial, the Starter Pack license is just $10 for 10 users. It's very well documented, easy to set up and flexible.