持续集成服务器
我的公司正在考虑更改持续集成服务器(我不会说我们现在有哪一台,所以我不会以任何方式歪曲您的回答:))我想知道是否有人有任何建议? 最好的用户体验、维护的难度等等...
我们的代码全部用java编写,并且我们使用ANT作为构建工具。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(30)
去年在美国的一次会议上,我在一个 1 小时的演示中第一次听说 Cruise Control .net,在平原回家的路上,我决定为我们公司实施一个小型 POC,并在不到 5 小时的时间内成功完成了它(包括我本可以完成的所有学习)。
我从那时起就开始使用它,我必须说我对结果和操作简便性感到非常满意,
有一些缺点(例如,尽管您可以监控多个服务器,但缺乏跨服务器规模的任务分配)
我在其中一个实现中发现了一个错误,因为它是开源的,所以我可以很快修复它(很大的优势) - 我在 codeplex 中创建了一个小 [项目] [1] 来包含我的修复,然后再将它们贡献给社区作为签到。
我强烈鼓励您看看这个平台,如果您能说出您真正需要的东西,那就太好了。
[1]: http://www.codeplex.com/DavidovitzCCE 项目
Last year on the a conference in the USA i first heard about Cruise Control .net on a 1 hour presentation, on my way home in the plain i decided to implement a small POC for our company and succcesfuly done it in less than 5 hours (including all the learning i could have done).
I am using it since than and i must say that i am very pleased with the results, and ease of operation,
There are some drawback (E.g. lack of distribution of task across servers scale although you can monitor several servers)
i found a a bug in one of the implementation and because it is an open source i could have fixed it very quickly (big advantage) - i created a little [project][1] in codeplex to contain my fixes before i contribute them to the community as a check in.
I highly encourage you to look at this platform, also it would be nice if you can say what you actually need.
[1]: http://www.codeplex.com/DavidovitzCCE project
为什么不使用托管 CI 服务,那么您就不必担心维护、成本等问题。MikeCI
是一个托管 CI服务将您的构建托管在 Amazon EC2 中,每月只需 10 美元,这比维护您自己的 CI 服务器便宜得多。
搏一搏。
Why don't you use a hosted CI service then you don't have to worry about maintenance, costs etc.
MikeCI is a hosted CI service which hosts your builds in the Amazon EC2 and for just $10 per month is a hell of a lot cheaper than maintaining your own CI server.
Give it a go.
请查看我们的 Parabuild。 与免费工具相比,它非常容易设置,并且其维护开销接近于零。 它不是免费的,但一分钱一分货。
Check out our Parabuild. Compared to free tools, it is very easy to set up and its maintenance overhead is close to zero. it's not free but you get what you pay for.
CruiseControl.NET 在 Windows 机器上比最初的基于 Java 的机器更有效。 特别是当专用构建服务器尚不可用时。
CruiseControl.NET is much more effective on Windows boxes then the original Java based one. Especially when dedicated build server is not available yet.
您可能还想看看
http://www.thoughtworks-studios.com/solutions /deployment-management链接文本
ThoughtWorks 部署管理解决方案结合了以下功能: Twist(敏捷测试)与 Go(发布管理)的结合。
直接由业务用户测试
然后支持他们的自动化
随着长期测试的发展
应用。
IT 运营团队模型发布
处理和部署软件
可重复且可靠。
You may want to look at it also
http://www.thoughtworks-studios.com/solutions/deployment-managementlink text
ThoughtWorks Deployment Management Solution combines the power of Twist (Agile testing) with Go (release management).
tested directly from business users
and then supports their automation as
long-term tests that evolve with the
application.
IT operations teams model release
processes and deploy software
repeatably and reliably.
考虑使用 fazend.com 上的免费托管 CI 服务。 它支持
ant
。Consider a free hosted CI service at fazend.com. It supports
ant
.关于持续集成功能矩阵,简单说一下:不是由 CruiseControl 人员收集的,它是在 CodeHaus 上启动的< /a> 由 DamageControl 项目创建,并在 DamageControl 进入休眠状态时移至 CruiseControl wiki。 这些信息主要由项目/产品所有者或其粉丝维护。
Just a word on the Continuous Integration Feature Matrix: it wasn't collected by the CruiseControl people, it was started on CodeHaus by the DamageControl project and moved to the CruiseControl wiki when DamageControl went into hibernation. The information is largely maintained by the project/product owners or by their fans.
我对 bamboo 很满意。 在决定使用之前,我查看了许多免费解决方案。
I am happy with bamboo. I looked at a number of free solutions before settling on it.
我想我会是第一个提到 Luntbuild 的人。 除了不太吸引人的名字之外,它还是一个很棒 CI 服务器。
查看实时演示。
帐户/密码 demo/demo
注意:现场演示是几个版本之前发布的。
I guess I will be the first to mention Luntbuild. Aside from the less-than-catchy name, it's a great CI server.
Check out the Live demo.
account/password demo/demo
Note: The live demo is a few releases back.
我最近实现了一个 Hudson 服务器。 以前使用过 Cruise Control,我对 Hudson 非常满意,并且对其设置和使用的简便性印象深刻。添加新项目比使用 Cruise Control 更加容易。
I recently implemented a Hudson server. 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。
不久前,我研究了其中一些具有以下要求的内容:
持续集成功能矩阵 是一个很好的起点。
我最终选择了 AnthillPro 并成功使用了它,只是抓了一下我们可以并希望用它来做什么的表面。
Edit: We use Hudson now.
A while ago I looked into a bunch of these with the following requirements:
The Continuous Integration Feature Matrix is a great place to start.
I ended up selecting AnthillPro and am using it successfully, just scratching at the surface of what we can and hope to use it for.
当我们看到 Jetbrains TeamCity 时,它看起来非常好。 它是基于java的,所以你的团队应该很容易扩展,并且可以进行分布式构建等......有一个免费版本你可以评估。
Jetbrains TeamCity looked really good when we looked at it. It is java based so should be easy for your teamn to extend, and can do distributed builds etc... There's a freebie version you can evaluate.
我也一直在研究这个问题,虽然我最初关注的是 CruiseControl,但我听说了关于 Hudson并决定尝试一下。 我对它的入门(只需下载并运行)的简单性感到非常惊讶,并且配置是通过 GUI 完成的,因此无需摆弄 XML 配置文件。
几分钟之内我就完成了我的第一个 Ant 构建。 我现在将其作为 Windows 服务在服务器上运行,该服务器可以在办公室或通过 VPN 24/7 全天候使用。 升级就像下载新的 war 文件并重新启动一样简单。
对 junit 报告的支持是开箱即用的。 安装额外的插件也非常容易,我已经添加了 Trac、Cobertura、FindBugs 和 PMD 的插件。 代码和测试质量正在提高,因为看到趋势图上升非常令人满意!
我现在使用它来管理测试和生产环境的所有构建。 由于我管理多个 Web 应用程序,这让我有更多时间花在实际编程上。 老实说,我不记得没有它我是如何度过的。
I have been looking into this too and although I initially was looking at CruiseControl, I heard good things about Hudson and decided to give it a try. I am completely blown away by how easy it was to get started (just download and run) and the configuration is done through the GUI so there's no fiddling around with XML config files.
Within minutes I had performed my first Ant build. I now have it running as a Windows service on a server which is available 24/7 both in the office and via VPN. Upgrading is as simple as downloading the new war file and restarting.
Support for junit reports is out of the box. Installing additional plugins is also very easy and I have added plugins for Trac, Cobertura, FindBugs and PMD. Code and test quality is increasing as it's very satisfying to see the trend graphs rising!
I now use it to manage all of my builds for test and production environments. Since I manage several web applications this gives me more time to spend on actual programming. I honestly can't remember how I managed without it.
Atlassian 的 Bamboo 看起来不错,但我没有任何使用经验。 看起来与 Cruise 或 TeamCity。
Atlassian's Bamboo looks nice but I don't have any experience with it. Looks to be similar in features to Cruise or TeamCity.
和这里的其他一些人一样,我真的喜欢Hudson。
它非常容易安装(只需部署一个 war 文件)、配置和使用。
此外,它还提供了许多其他系统上并不总是可用的功能(构建矩阵、主从服务器、服务器或项目级别的安全性......
) gotdns.com/wiki/display/HUDSON/Plugins" rel="nofollow noreferrer">插件 现在非常重要,创建自己的插件并不难......
总而言之,这个应用程序发展得非常快:我们目前正在发布第 257 个版本,一年以来他们发布了 100 多个版本!
对于法国人,我在此处编写了一份相当完整的 Hudson 使用指南。
Like some other people here, I really love Hudson.
It is extremly easy to install (it's just a war file to deploy), to configure and to use.
In addition, it offers a lot of functionalities that are not always available on others systems (build matrix, master and slaves, security on server or project level...)
The number of existing plugins is quite important now, and creating its own plugin is not that hard...
To finish, this application evolves really fast: we are currently on the 257th release and they made more than 100 releases since one year!
For french people, I wrote a quite complete guide to use Hudson here.
如果您使用 Atlassian 员工软件(例如 Jira、Clover 等),Bamboo 就是您的选择。
我们使用它几个月了,我可以推荐它。 它值得它的钱。
If you are using Atlassian staff software (e.g. Jira, Clover etc.) Bamboo is your way.
We use it for couple months and I can recommend it. It worth its money.
如果您还没有完全相信 Hudson,一键试驾应该会改变您的想法。
点击下面:
https://hudson.dev.java.net/hudson.jnlp
这将通过 Java Web Start 启动 Hudson 进行测试。 启动后,访问 http://localhost:8080/ 进入仪表板。 您对此 Hudson 所做的任何配置都将存储在 ~/.hudson 中,因此您的数据将在 Hudson 进程重新启动后保留下来。
如果您使用相当标准的工具,例如 svn 和 ant/maven - 您应该在 5 分钟内完成构建并运行。 不同的工具,可能需要 20 分钟!
请参阅此处的介绍:
http://wiki.hudson-ci.org/display /HUDSON/遇见+哈德森
If you are not completely sold on Hudson a one click test drive should change your mind.
Click below:
https://hudson.dev.java.net/hudson.jnlp
This will launch Hudson through Java Web Start for a test drive. Once it launches, visit http://localhost:8080/ to get to the dashboard. Any configuration that you do with this Hudson will be stored in ~/.hudson, so your data will survive through Hudson process restart.
If you are using fairly standard tools such as svn and ant/maven - you should have a build up and running in 5 minutes. Different tools and it might take 20 minutes!
See an introduction here:
http://wiki.hudson-ci.org/display/HUDSON/Meet+Hudson
竹子效果很好; 如果你有现金我会推荐。 巡航控制系统物有所值; 我从未能够让它可靠地发现源更改已进行并构建,也无法让它手动构建。 界面和配置非常复杂。
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.
我们使用巡航控制。 它具有我们想要的所有功能,并且设置起来非常容易。 与 ANT 和 SVN 集成很好。
缺点:每隔一段时间,我们就必须重新启动进程或机器,因为它停止发送夜间构建的消息。 不知道那是什么,但这很烦人。
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.
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.
与往常一样,Java 世界也有开源世界和商业世界。
我们已经看到了对各种产品的相当不错的报道。
Hudson:我不知道还有哪个 Java 服务器产品能像这个一样容易评估。 java -jar hudson.war —— 能有多简单呢? 您不仅可以在 Windows 上使用它,还可以在所有常用的 java 平台上使用它。 支持 Ant、Maven 和许多其他构建平台。
Hudson 最好的一点是插件功能。 它几乎是在持续开发中。 你要求一个功能,很快就会完成。
我通常不喜欢听起来像个粉丝,但这个应用程序/开发人员/社区确实给我留下了深刻的印象。
BR,
~A
as usual with java world, there is the open source world and the commercial world.
We've already seen pretty good coverage of the various offerings.
Hudson : I don't know of a single other java server offering that is as easy as this to evaluate. java -jar hudson.war -- how easy can it get than that ? NOT only can you use it on windows, you can use it on all the usual java platforms. Ant, Maven and a host of other build platforms are supported.
The best thing about Hudson is the plug-in capability. It is being developed almost continuously. You ask for a feature and it won't take long for it to be done.
I usually don't like sounding like a fanboy, but this app/developer/community sure impresses me.
BR,
~A
我们使用巡航控制系统并取得了不错的效果。 从那时起,我们开始在所有项目中使用 Maven 作为构建工具。 随后 CI 搬到 Hudson,这是非常好的。 如果您认为将来可能会迁移到 Maven,我会推荐它。 我认为 Hudson 甚至可以用来调用 Ant 任务,尽管 Maven 包装器可能是合适的。
http://hudson-ci.org/
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.
http://hudson-ci.org/
Thoughtworks Cruise 是 CruiseControl 开源项目。 看起来很不错,有很多功能,分布式构建等。我不知道它的可扩展性是什么。
Thoughtworks Cruise is the commercial offspring of the CruiseControl open source project. Looks very nice, lots of features, distributed builds etc. I don't know what it's extendability is.
我们一直在使用Automated Build Studio并且对此非常满意。 它是一个 Windows 应用程序,因此您被困在 Windows 构建服务器上,但从好的方面来说,它非常容易设置、维护和使用。 您可以通过点击从组件构建流程,如果没有组件满足您的需求,可以使用脚本。
We've been using Automated Build Studio and have been pretty happy with it. It's a windows app, so you're stuck on a windows build server, but on the plus side it's super easy to set up, maintain and use. You build your process from components via point and click, and can use scripting if none of the components meet your needs.
我运行的一个组织(openqa.org)曾一度使用过几乎所有这些。 就简单设置而言,请选择 TeamCity 或 Bamboo。 但就整体可靠性而言,您可能想看看 Hudson。 我真的很喜欢 JetBrains,但我们发现 TeamCity 一段时间后会进入奇怪的状态,导致我们的构建非常不可靠。 太糟糕了,因为我喜欢 IDEA!
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 really like 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!
我们也使用 Hudson,如果不是经济衰退,我们可能会使用 Bamboo 和大多数 Atlassian 产品(Bamboo、Crucible、Confluence)以及 JIRA。
We use Hudson too and if it wasn't the recession, we would probably use Bamboo and most of the Atlassian products(Bamboo, Crucible, Confluence) together with JIRA.
我使用 Continuum 作为我的持续集成服务器。 除了我要雇用一位在上一次任务中使用过的开发经理之外,没有其他原因,因此选择我们至少一个人有经验的东西似乎是有意义的。
在选择 Continuum 之前,我让一位初级开发人员花了两周时间尝试让 CruiseControl 运行起来。 不过,我们首先运行的是 Continuum 1.0。
I use Continuum for 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.
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.
我管理过 Bamboo 和 Hudson,我会推荐 Hudson。
它们都很棒,但 Hudson 拥有更好的报告支持,例如在 Hudson 内部发布您的报道报告等要容易得多。
这种情况可能会在不久的将来发生变化,但尽管 Bamboo 与 JIRA 等集成并且有统计数据,但 Hudson 在易用性和第三方支持方面都更好,无论金额多少(它是免费的,Bamboo 不是) 。
I've administered both Bamboo and Hudson, and I would recommend Hudson.
They are both great, but Hudson has better report support, for instance publishing your coverage reports etc. is so much easier inside Hudson.
This is likely to change in the near future, but despite Bamboo's integration w/ JIRA etc. and it's statistics, Hudson, for ease of use and third-party support, is better regardless of dollar amount (it is free, Bamboo is not).
在我使用过的少数工具中,Buildbot 脱颖而出,是最强大、最灵活的。 不过,如果这对你来说很重要的话,它还不是最漂亮的。
Of the few that I've used, Buildbot stands out as the most powerful and flexible. It's not the prettiest, though, if that matters to you.
我们正在使用 Zutubi Pulse,它对我们来说非常有用。
ant 非常易于使用,具有许多高级功能。
We are using Zutubi Pulse and it works great for us.
It's very easy to use ant has many advanced features.
我们使用StarTeam,Hudson和CruiseControl.NET之间,CC.NET在与StarTeam集成时存在一些错误。 它似乎无法识别我们在配置文件中定义的工作区。
We use StarTeam and between Hudson and CruiseControl.NET,CC.NET has some bugs when integrating with StarTeam. It does not seem to recognize the workspace that we define in the config files.