Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reducing the Build time - Hudson

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.

like image 384
Vanchinathan Chandrasekaran Avatar asked Feb 26 '11 03:02

Vanchinathan Chandrasekaran


2 Answers

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

like image 127
Pavan Avatar answered Sep 30 '22 03:09

Pavan


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.

like image 35
janmejay Avatar answered Sep 30 '22 04:09

janmejay