Jan
22
2007

Hudson is one cool build tool…

I’ve been a long term fan of Anthill. It was always so much easier to configure than Cruise Control and, even though the feature set was slimmer, it did everything I needed in an automated build/continuous integration tool.

Lately, however, I’ve been taking Hudson for a spin as an Anthill replacement, and it has totally blown me away. The cool Ajaxy console window that keeps in sync with your build’s stdout as it happens, the RSS feed for builds, ability to easily see CVS mods for a particular build, integrated test reporting, and very easy to use and slick UI all combine for a killer automated build tool.

The other big sell is that there is no Unix command prompt fiddling required. The whole app installs as a single WAR – and *everything* can be configured with from a browser.

Just one gotcha for new players, you’ll want to set your app server’s environment to include a HUDSON_HOME (on Glassfish, use /Configuration/System Properties from the console as shown below), so you don’t end up with build artifacts in the scratch area of your deployed Hudson war. Once that’s done, just replace with the latest Hudson war as it comes out and all your settings will just keep on trucking.

Configuring HUDSON_HOME on Glassfish

Big props to the Hudson guys for a fantastic build tool that’s a snap to configure and use. Awesome stuff – my new automated build tool of choice!

About the Author: Glen Smith

5 Comments + Add Comment

  • woah never heard of Hudson but it looks amazing! thanks for the hint, keep up blogging! cheers :)

  • Hi Kristoff. Hudson is one of java.net’s best kept secrets – the best CI tool you’ve never heard of! I’m sure it will get a lot of traction this year.

  • Hi Glen – I’ve just started using hudson – it seems like a fantastic tool, and I’ve been successful at setting most of it up. The only problem is that the documentation is lacking in many areas – such as artifact archiving, which I can’t get to work.

    Is there any how-to sites/other docs that you could point me to?

    Thanks – happy coding!

  • Hi Curt. Sorry, but I’ve not done anything with archiving. Might want to drop the Hudson mailing list a line?

  • the new ahp3 is much better and it has all the deployment features.

    you dont have to manage a lot of plugins either.

Leave a comment

Glen Smith

About Glen

Co-author Grails in Action