Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3238602
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:52:23+00:00 2026-05-17T17:52:23+00:00

HI , Is there any I can setup a screen saver with the list

  • 0

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 !!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:52:24+00:00Added an answer on May 17, 2026 at 5:52 pm

    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)

    http://hostname:8080/api/xml 
    

    Will yield something like…

     <hudson>
       <assignedLabel></assignedLabel>
       <mode>NORMAL</mode>
       <nodeDescription>the master Hudson node</nodeDescription>
       <nodeName></nodeName>
       <numExecutors>5</numExecutors>
       <job>
         <name>JobOne</name>
         <url>http://hostname:8080/job/JobOne/</url>
         <color>blue</color>
       </job>
       <job>
         <name>JobTwo</name>
         <url>http://hostname:8080/job/JobTwo/</url>
         <color>blue</color>
       </job>
       <job>
         <name>JobThree</name>
         <url>http://hostname:8080/job/JobThree/</url>
         <color>blue</color>
       </job>
       <overallLoad></overallLoad>
       <primaryView>
         <name>All</name>
         <url>http://hostname:8080/</url>
       </primaryView>
       <slaveAgentPort>0</slaveAgentPort>
       <useCrumbs>false</useCrumbs>
       <useSecurity>true</useSecurity>
       <view>
         <name>All</name>
         <url>http://hostname:8080/</url>
       </view>
       <view>
         <name>Dashboard</name>
         <url>http://hostname:8080/view/Dashboard/</url>
       </view>
     </hudson>
    

    You’d be interested in these nodes…

       <job>
         <name>JobOne</name>
         <url>http://hostname:8080/job/JobOne/</url>
         <color>blue</color>
       </job>
       <job>
         <name>JobTwo</name>
         <url>http://hostname:8080/job/JobTwo/</url>
         <color>blue</color>
       </job>
       <job>
         <name>JobThree</name>
         <url>http://hostname:8080/job/JobThree/</url>
         <color>blue</color>
       </job>
    

    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.

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
    xmlns="*" creationComplete="start()">
    
        <!-- The HTTPService request -->
        <mx:HTTPService id="jobsRequest" url="http://localhost:8080/api/xml" useProxy="false" method="POST">
            <mx:request xmlns="">
            </mx:request>
        </mx:HTTPService>
    
        <!-- basic timer to trigger the data request from Hudson -->
        <mx:Script>
            <![CDATA[
                import flash.utils.Timer;
                import flash.events.TimerEvent;
    
                private var t:Timer = new Timer(5000, 0); // repeat every 5 seconds;
    
                private function start():void {
                  t.addEventListener(TimerEvent.TIMER, getHudsonStatus);
                  t.start();
                }
    
                private function getHudsonStatus(e:TimerEvent):void {
                    jobsRequest.send();
                }
            ]]>
        </mx:Script>
    
        <!-- the view -->
        <mx:DataGrid id="hudsonJobsDataGrid" x="22" y="128" dataProvider="{jobsRequest.lastResult.hudson.job}">
            <mx:columns>
                <mx:DataGridColumn headerText="Name" dataField="status"/>
                <mx:DataGridColumn headerText="Status" dataField="color"/>
            </mx:columns>
        </mx:DataGrid>
    
    </mx:Application>
    

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any query which can return me the number of revisions made to
Is there any tool that can parse a valid C program and generate a
Are there any tools that can tell me what percentage of a XSL document
Are there any algorithms that can help with hierarchical clustering? Google's map-reduce has only
Is there any way I can detect when my page has been set as
Are there any utilities that can examine a set of managed assemblies and tell
Is there any way I can specify a standard or custom numeric format string
Is there any way we can convert text to speech in an iPhone app?
Is there any way I can vary caching by a controller action parameter using
Are there any libraries that can take a few digital pictures of an object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.