BuildMon v0.1 – Bringing Hudson Orbs To Firefox

Update: documentation and screenshots have been moved to Hudson wiki.

I’ve just released BuildMon Build Monitor v0.1, a Firefox Add-on that displays Hudson Build status on Firefox status bar panel. You can install it from .

This add-on is currently sandboxed (only registered users can click the ‘Add to Firefox’ button). It still needs at least a user review before I can nominate it for public access. So if you can help with a review, it will be highly appreciated. I’ve tested it on Firefox 2.0.14 and 3.0RC2 (Gran Paradiso), on Windows Vista and Ubuntu Gutsy Gibbon, against Hudson 1.211’s feed.

BuildMon uses Hudson orbs as the build status indicator.

  • Blue orb (success) – all builds were successful.
  • Yellow orb (warning) – there’s at least one failed build, but the latest build was a success.
  • Red orb (failure) – the latest build failed, someone should fix it, the build breaker is not allowed to go for lunch or go home :p.

BuildMon development was quite straightforward. Mozilla Developer Center has a nice tutorial on Building an Extension, and XUL Planet’s Element Reference is very handy. The only problem I had was on the weird behaviour of the tooltip and popupmenu elements, it took me a while to figure out that placing them within the wrong parent elements resulted in the elements appearing when there are other add-ons installed, but not when it’s the only installed add-on.

BuildMon uses jQuery, Datejs, Pretty Date, and jFeed. I slightly modified jFeed to pass error callback from jQuery.ajax .

Hope you’ll find this add-on useful, and remember… thou shalt not ignore the red orb!

I’ve been using Hudson since its early version (way way before m2 support), mostly for my personal projects. Back then I used CruiseControl at work, and I also briefly looked at Continuum as another option. Hudson has by far been the best at providing the right balance between convenience and flexibility, mad props for that.

10 thoughts on “BuildMon v0.1 – Bringing Hudson Orbs To Firefox

  1. ee,

    It’s because the site places new add-ons on Mozilla sandbox (only logged-in users can add the add-on), as described here

    I’m now waiting for the first review from the users, so I can nominate the add-on for public access for the editors to review. After it passes, then everyone can add it without having to login/register.

  2. Nice Thanks.

    But it’s true that it would be better to nominate it for public access.

  3. It would be great if there were some way to select the individual jobs to monitor. We have many jobs but only certain teams are interested in certain jobs.

  4. Dianna, to monitor individual jobs, please visit the job page in Hudson. Each job has its own feed (on the left area on the job page) and you can simply right click on the feed link and add it to Hudson Build Monitor. Voila, you’re monitoring just the builds from that particular job.

  5. Thanks so much for your response, I tried out your suggestion and it worked but not in a way that I was looking for. I was confused intially because I manually added http://hudson:8080/rssAll via Hudson Build Monitor preferences. I expected that from there I could select individual jobs and then have *only* the most recent status displayed with the mouse over for this limited set rather than for all. The method you suggested adds each job individually to the status bar and contains *all* the build status for that job, rather than grouping them and only providing the most recent status for a selected set of jobs. Is what I am asking for possible?

  6. If your goal is to monitor the latest status for each job, then you can add the “for just last builds” feed from Hudson dashboard (top right of the page).

    If you only want a certain set of jobs, then adding the job feeds is the way to go. You can configure to display “the latest builds status” in the preference window. You’ll see the orb color for each job status. If it takes too much space on the status bar, tick the checkbox “hide feed name”.

  7. Another option to define a ‘group’ is to create a view in Hudson dashboard. You can specify the jobs you want in the view, then the feed for that view will contain only those jobs.
    If you only want the latest status of those jobs, then use “the latest build status” feed on that view page.

    Hope that helps.

  8. I was already grouping by views per team so that solution worked great!

    Thanks for your help

Leave a Reply

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

You are commenting using your 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