Green Balls

Plugin Information

Plugin ID greenballs
Latest Release 1.6
Latest Release Date Feb 01, 2010
Changes via Fisheye In Latest Release
Since Latest Release
Maintainer(s) Asgeir Storesund Nilsen (id: asgeirn)
Issue Tracking Open Issues

Changes Hudson to use green balls instead of blue for successful builds.

Change log

  • 1.6 – Added Cache-Control and Expires to all responses. Green balls should load as fast as other colors now.
  • 1.5 – Adds a Cache-Control header to hint to the browser that the green balls can be cached. Reported in Issue 4888.
  • 1.4 – Added servlet context to redirect url, to make it work if Hudson is not on the root context. Thanks to Peter Janes for the patch.

Labels:

plugin-ui plugin-ui Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Nov 24, 2009

    Nicholas Audo says:

    This plugin doesn't have an image for small icons on hudson.

    This plugin doesn't have an image for small icons on hudson.

  2. Nov 24, 2009

    Eugene Ho says:

    We've been using the small green balls, it shows up.

    We've been using the small green balls, it shows up.

  3. Jan 25, 2010

    Tom Quarendon says:

    Only affects build details page, not dashboard. I installed this and was confuse...

    Only affects build details page, not dashboard.
    I installed this and was confused thinking it didn't work. Seems like the build details page (i.e like the picture above) works (though the loading of the icon is v slow – this is on version 1.5), but the dashboard page (where all of the jobs are displayd along with their curren status) still shows blue.
    As such, makes things worse as you have blue icons sometimes and green icons others...

    1. Jan 25, 2010

      Asgeir S. Nilsen says:

      Make sure you clear your browser cache. The Green Balls plugin uses HTTP redire...

      Make sure you clear your browser cache. The Green Balls plugin uses HTTP redirect trickery to do its job, and that only works if the browser actually tries to fetch the icons.

      1. Jan 25, 2010

        Tom Quarendon says:

        Can't make Google chrome pick them up, but if I try Internet Explorer (which I'v...

        Can't make Google chrome pick them up, but if I try Internet Explorer (which I've never looked at hudson with before) then I certainly get all green, so it's a browser problem one way or the other.
        I've tried making google chrome clear its cache, but doesn't seem to have any effect.
        Green icons still load much slower than the others though.

        1. Jan 25, 2010

          Asgeir S. Nilsen says:

          Strange. I use Chrome myself, and the green balls show up just fine. They do ...

          Strange. I use Chrome myself, and the green balls show up just fine.

          They do load slower, that's true. For every blue icon the plugin replaces, two requests are sent to the Hudson servlet container; one for the original blue one and one for the green one it gets redirected to.

          Because Hudson serves Expires headers that render caching ineffective this happens every time a green icon is requested, something I have reported in issue 4888.

        2. Mar 05

          Ben Willis says:

          Had the same issue, attempted 'hard' refreshes and it didn't do anything. Resta...

          Had the same issue, attempted 'hard' refreshes and it didn't do anything. Restarting the browser made it work in the end.

          1. Mar 06

            Asgeir S. Nilsen says:

            Have you tried version 1.6? It employs some trickery to make cache expiration w...

            Have you tried version 1.6? It employs some trickery to make cache expiration work "better".

  4. Apr 09

    Dieter De Meyer says:

    Can't seem to create an animated gif with the supplied sh scripts. Getting the f...

    Can't seem to create an animated gif with the supplied sh scripts.
    Getting the following error:

    Invalid parameter - green.gif

    Could this be a bug ?

    Hope you can help, i would like to change the animated gif accordingly.

    1. Apr 12

      Asgeir S. Nilsen says:

      What platform are you running on? I notice the make.sh script uses Bash syntax ...

      What platform are you running on? I notice the make.sh script uses Bash syntax but states Bourne shell. On Linux this goes by undetected, but on other platforms it might not.

      It also depends on ImageMagick – do you have that installed?

      The workflow is:

      1. Make .gif from .svg using make.sh
      2. Make animated .gif from .gif using makeBalls.sh

      You could also do the conversion manually – take a look into makeFlash.sh for the necessary commands.

      1. Apr 12

        Dieter De Meyer says:

        I am using Windows (I know, shame on me..). I installed ImageMagick and created...

        I am using Windows (I know, shame on me..).

        I installed ImageMagick and created a Windows Bat file with the same behavior as the sh file and it works.

        Thanks for your help.

  5. May 17

    tom says:

    Can someone add transparency to the images rather than a white background? Many...

    Can someone add transparency to the images rather than a white background?

    Many Thanks

  6. Jun 17

    Dragomir Nedyalkov says:

    Hello all, does anybody know the reason (or the link to the right blog/article/...

    Hello all,

    does anybody know the reason (or the link to the right blog/article/page) why originaly the successful builds are marked in blue colour ? I mean why not in green, which seems to be the more intuitional colour for the success of any test procedure.

    Thanks in advance!

    1. Jun 17

      Asgeir S. Nilsen says:

      That's quite an interesting story in fact. You will find most of the details in...

      That's quite an interesting story in fact. You will find most of the details in HUDSON-369, but here is an abstract:

      Q. "Why do Japanese people say that they have blue traffic lights when they are really green?"--Question submitted by John Sypal

      A. According to the book, Japan From A to Z: Mysteries of Everyday Life Explained by James and Michiko Vardaman, the first traffic signals in Japan were blue instead of green, but the blue lights were difficult to see from a long distance away so they were replaced with green ones. Vardaman says that the custom of referring to traffic lights is a holdover from those days.
      This sounds like a good explanation, but the problem with it is that you will hear Japanese people refer to other green things (like cucumbers, spinach, and sometimes grass) as being blue as well. This is because historically, Japanese people considered green to be a shade of blue.

      1. Jun 17

        Dragomir Nedyalkov says:

        Thanks! I see now - the answer of my questions seems to be buried deep in t...

        Thanks!

        I see now - the answer of my questions seems to be buried deep in the history of Japanese culture. This little pinch of such a rich culture and history is very very interesting ...

        Best Regards,