Uncategorized

Hudson is sweet, now the build can tweet

I recently set up a new Hudson build so the Equinox team could test their changes in a branch instead of releasing everything to HEAD. Hudson, like Eclipse, has a rich variety of plugins that can expand the functionality of your build. Hudson has a twitter plugin and thus Eclipse (test) builds tweet here

http://twitter.com/eclipsebuilds

Right now, there are only a few messages about the test builds I started, and stopped when I saw that build was proceeding as normal. In any case, it’s pretty cool.

Hudson also has plugins to use additional slave machines on the network to run the build on a faster machine if the current build machine is too busy. It also has plugins to provision Amazon EC2 images and run the build on a slave in the cloud. We currently run about 54,000 JUnit test per platform multipled by five test machines during each build. We run tests on Windows, Mac and Linux machines. But the tests take a long time to complete simply because of the number of tests we run and the lack of additional hardware to run more tests in parallel. It would be fantastic to be able to run the tests on parallel on many machines and finish in fraction of the time they take today. That would allow us to reduce the number of breaking build issues. But of course, this will take significant testing to implement. Sounds like fun!

References
Run JUnit tests in parallel
Hudson build for the p2 branch

3 comments on “Hudson is sweet, now the build can tweet

  1. hi kim,

    posting build results on twitter is cool. We at Riena are doing that for some time now (342 tweets) at http://twitter.com/rienabuild. However I choose to have that twitter account moderated since spammers choose to follow it. What is your experience with spammers ?

    Other than that it works quit well. I just wish the hudson plugin that runs the twitter message would post more details about the build results on twitter, like number of junit tests that failed, time it took to build and stuff like that.

    christian campo

    Like

  2. No, I haven't had problems with spammers yet. Yes, I wish that it would provide more details too – perhaps this plugin will be improved in the future.

    Like

  3. Now you can listen to your tweeted build results using Mylyn as well. Instructions here: http://eclipsophy.blogspot.com/2009/10/diy-mylyn-twitter-connector.html

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: