Java 持续集成服务器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/140453/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Continuous Integration Servers
提问by pfranza
My company is considering changing continuous integration servers (I won't say which one we have now, so I won't skew your responses in anyway :) ) I wondering if anybody has any recommendations? Best user experience, level of difficulty to maintain, etc...
我的公司正在考虑更改持续集成服务器(我不会说我们现在拥有哪一个,所以无论如何我都不会歪曲您的回答:))我想知道是否有人有任何建议?最佳用户体验、维护难度等...
Our code is all in java, and we use ANT as a build tool.
我们的代码全部是java,我们使用ANT作为构建工具。
采纳答案by Joe Skora
I recently implemented a Hudsonserver. Having previously used Cruise Control, I am very satisfied with Hudson and very impressed with its ease of setup and use.Adding new projects is infinitely easier than it was with Cruise Control.
我最近实现了一个Hudson服务器。之前使用过 Cruise Control,我对 Hudson 非常满意,并且对其易于设置和使用的印象非常深刻。添加新项目比使用 Cruise Control 容易得多。
回答by Matt
We use Cruise Control. It's got all the features we want and was pretty easy to set up. Integration w/ ANT and SVN is fine.
我们使用巡航控制。它具有我们想要的所有功能,并且非常容易设置。与 ANT 和 SVN 的集成很好。
Con: every once in a while we have to restart the process or the machine as it stops sending out messages for the nightly build. Not sure what that's about but it's just annoying.
缺点:每隔一段时间我们必须重新启动进程或机器,因为它停止为每晚构建发送消息。不知道那是什么,但它只是烦人。
回答by craigb
回答by user12786
We've used Cruise Control with decent results. We have since started using Maven for the build tool in all our projects. With that came the move to Hudson for CI which is very nice. If you think a move to Maven might be in your future, I'd recommend it. I think Hudson can even be used to call Ant tasks though a Maven wrapper might be in order.
我们已经使用了巡航控制并取得了不错的结果。从那以后,我们开始在所有项目中使用 Maven 作为构建工具。随之而来的是搬到哈德森进行 CI,这非常好。如果您认为将来可能会迁移到 Maven,我会推荐它。我认为 Hudson 甚至可以用来调用 Ant 任务,尽管 Maven 包装器可能是有序的。
回答by craigb
Thoughtworks Cruiseis the commercial offspring of the CruiseControlopen source project. Looks very nice, lots of features, distributed builds etc. I don't know what it's extendability is.
Thoughtworks Cruise是CruiseControl开源项目的商业后代。看起来很不错,很多功能,分布式构建等等。我不知道它的可扩展性是什么。
回答by craigb
回答by davetron5000
Bamboo works great; if you have cash I'd recommend that. Cruise Control is worth its price; I've never been able to get it to reliably discover that source changes were made and build, nor have I have been able to get it to build manually. The interface and configuration are horribly complex.
竹子效果很好;如果你有现金,我建议你这样做。Cruise Control 物有所值;我一直无法让它可靠地发现进行了源更改并进行了构建,也无法让它手动构建。界面和配置非常复杂。
回答by Instantsoup
Edit: We use Hudson now.
编辑:我们现在使用 Hudson。
A while ago I looked into a bunch of these with the following requirements:
不久前,我研究了一些具有以下要求的这些:
- Java code
- Ant builds
- Groovy builds
- Distributed builds
- SCM trigger integration
- http reports
- smtp reports
- Java代码
- 蚂蚁构建
- Groovy 构建
- 分布式构建
- SCM触发器集成
- http 报告
- smtp 报告
The Continuous Integration Feature Matrixis a great place to start.
在持续集成功能矩阵是一个伟大的地方开始。
I ended up selecting AnthillProand am using it successfully, just scratching at the surface of what we can and hope to use it for.
我最终选择了AnthillPro并成功使用了它,只是触及了我们可以并希望使用它的表面。
回答by Brian Matthews
I use Continuumfor my continuous integration server. No reason other than I was going to hire a development manager who had used at his last assignment so it seemed to make sense to pick something at least one of us was experienced with.
我使用Continuum作为我的持续集成服务器。除了我要聘请一位在上次任务中使用过的开发经理之外,没有其他理由,所以选择至少我们中的一个人有经验的东西似乎是有意义的。
Prior to picking Continuum I had a junior developer spend two weeks trying to get CruiseControl going. However, we got Continuum 1.0 to run first go.
在选择 Continuum 之前,我让一名初级开发人员花了两周时间试图让 CruiseControl 运行起来。但是,我们首先运行了 Continuum 1.0。
回答by Brian Matthews
An org I run (openqa.org) has, at one time or another, used just about all of them. In terms of easy setup, go with TeamCity or Bamboo. But in terms of overall reliability, you might want to look at Hudson. I reallylike JetBrains, but we found TeamCity to get in to weird states after a while, causing our builds to be very unreliable. Too bad, since I love IDEA!
我运营的一个组织 (openqa.org) 曾多次使用过几乎所有这些。在设置简单方面,选择 TeamCity 或 Bamboo。但就整体可靠性而言,您可能想看看 Hudson。我真的很喜欢 JetBrains,但我们发现 TeamCity 在一段时间后会进入奇怪的状态,导致我们的构建非常不可靠。太糟糕了,因为我喜欢 IDEA!