Hudson continuous build full screen monitoring

I’ve just quickly hacked a fullscreen monitor for our continuous integration server at work. As for my personal projects, we use Hudson, which has a nice restful xml API.This small utility asks for the url of your Hudson server and retrieves all the jobs and their status. You can also provide the url to a view, would you want to only partially monitor your jobs (such as only the continuous integration builds, ignoring nightly builds, or the other way around).

HudsonMonitor Main screen

When in full screen mode, the tool will poll the server every 15 seconds for job updates and render a fully red, yellow or blue (and yes, I kept the blue!) screen displaying the worse status of your currently monitored jobs. Should the screen not be blue (all monitored builds stable), it will also display the list of unstable or broken builds.

HudsonMonitor - Full screen mode

Everything is pretty much hacked together, with way too many inner classes (lazy me!). This is what I call a “one movie hack”, as I quickly wrote this with the computer on my lap next to my wife while we were watching a movie… or at least she was! Besides, it uses the IntelliJ Idea’s layout manager for the main screen. I’ll try to clean this all up. In the meantime the code is available through a:

svn co HudsonMonitor

and the executable jar is available here.

Hudson continuous build full screen monitoring

One thought on “Hudson continuous build full screen monitoring

  1. hastalavista says:

    Hey script kiddie,

    Nice work and all but why don’t you grab the Hudson source and make a small addition to the REST path like e.g.
    or maybe

    This would return a self refreshing web page with blue/yellow/red backgrounds and all info required to throw the bricks at the right team.

    Your feature would be immediately available to all and putting the browser in Full Screen mode would result in the same effect, on all platforms.

    I’ll pay the keep-you-wife-occupied-for-2-hours-movie and you do the coding meanwhile. That or coffee in the morning.

    Let’s call it a night…

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 )

Google photo

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

Connecting to %s