减少构建时间 - Hudson
我想知道,是否有一个 Hudson 插件可以通过在从站之间分配测试来减少构建时间。
我找到了一个名为 Test Load Balancer (TLB) 的项目,
但这仅用于 Ant 项目。我的是一个 Maven 项目。我正在寻找哈德逊的解决方案。
我正在努力改进构建管道,以便我们能够迈向持续交付。 现在,我的一项工作平均需要 30 分钟。
任何帮助将不胜感激。
I would like to know,If there is a Hudson plugin to reduce the build time by distributing the tests across slaves.
I found a project called Test Load Balancer (TLB)
But this is used for only Ant projects. Mine is a Maven project. I'm looking for a solution on Hudson.
I'm trying to improve the build pipeline , so that we can move towards continuous delivery.
Right now, one of my Job takes 30 minutes on average.
Any help will be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我是测试负载均衡器的创建者之一 - http://test-load-balancer.github.com 。你是对的,我们目前在 Java 中只支持 Ant 和 Twist。然而,添加对 Maven 的支持应该相当容易。尚未完成的原因主要是因为带宽问题。
您能否详细说明一下如何使用 Maven,以便帮助我们将 Maven 支持添加到 TLB 中?
理想的情况是,您可以将实际运行测试的构建脚本片段粘贴到此处。这将为我们提供有关您用于运行测试的 Maven 插件、如何使用它等的信息。
很久以前,我们的问题跟踪器上也有一张相同的卡片:http://code.google.com/p/tlb/issues/detail?id=1
您如果您愿意,可以参考此内容并在那里添加详细信息并在那里跟踪进度。
帕万
I am one of the creators of the Test Load Balancer - http://test-load-balancer.github.com. You are right, we only support Ant and Twist as of now in Java. However, it should be fairly easy to add support to Maven. The reason its not done yet is mostly because of bandwidth issues.
Can you please give a little more specifics on how you use Maven so that it will help us add Maven support into TLB?
The ideal thing would be if you can paste the build script snippet that actually runs your tests here. That will give us information about the maven plugin that you are using to run tests, how you use it etc.
We also have a card for the same on our issue tracker from a long time ago: http://code.google.com/p/tlb/issues/detail?id=1
You can refer to this and add details there as well if you wish and track progress there.
Pavan
已将必要的更改作为补丁发布到上游。
合并请求:http://jira.codehaus.org/browse/SUREFIRE-726
一次合并了预处理器功能的版本即将发布,我们将发布捆绑 Maven 支持的 TLB 版本。
连接起来只需要在 pom.xml 中进行大约 5 行更改。
Have posted the necessary changes as a patch to upstream.
Merge request: http://jira.codehaus.org/browse/SUREFIRE-726
Once a version with preprocessor feature merged in comes out we'll publish a TLB build that bundles maven support.
Wiring it up will just be about 5 lines worth of changes in pom.xml.
我读到有人在 Linux ramdisk 上设置 Hudson 服务器。
他们的整个构建都在内存中。
他们在构建时间内获得了令人难以置信的性能改进,因为大多数构建都是 IO 绑定的。我看看能不能找到这篇文章。
I read about some one setting up a Hudson server on a Linux ramdisk.
Their whole build was in memory.
They got incredible performance improvements in their build time because most builds are IO bound. I'll see if I can find the article.