HI , Is there any I can setup a screen saver with the list of projects running in hudson which indicates the status of the project. Say the part of the screen saver indicates green for projects got succeded , and shows the red if the project is failed to build.
Probably the screen saver must be partitioned to multiple projects !!!
You can create something in any suitable environment e.g. Flex / AS3. that can read XML and also generate the sort of screensaver design and executable you need (depending on your target platform)
You could just create to a straightforward webpage and consume the hudson data over AJAX, and render your display in HTML/CSS, it’s up to you, but it’s fairly trivial to do.
Hudson will provide the current list of jobs and their status color over it’s basic API (XML in this example)
Will yield something like…
You’d be interested in these nodes…
Which would be easy to select and get the required color (build status is red or blue) and job name. If you want more info I’d be happy to throw something basic together.
Update: Very Basic Flex Example.
This is pretty crappy, but it’s doing the data retrieval you need, Flex 4 or Silverlight will give you better data driven lists, with ItemRenders (Flex4 Spark) or DataTemplates (Silverlight), I think the Flex4 route will require less code, and if it MUST be a screensaver, it’s fairly simple to convert SWF’s to Screensavers, and a lot of tools are available to automate the process.
Update 2: Slightly better Flex 4 example…
I’ve created a nicer view as a fullscreen AIR Application with Flex 4 using Spark components (DataGroup + ItemRenderer) it’s here http://gist.github.com/623167 as source. Flashbuilder4 or the AIR SDK is required to build it. It’s not a finished product of course!
It looks like this… : https://i.stack.imgur.com/8I92U.png – when it was monitoring http://deadlock.netbeans.org/hudson