Plugin Information
Changes Hudson to use green balls instead of blue for successful builds.
Hudson job for Green Balls


Change log
- 1.10 – Reverted ball color to pre 1.9 version. Thanks for all your feedback and interest!

- 1.9 – Fixed images for Hudson 1.392 HUDSON-8400 and errors when running under Tomcat HUDSON-8364.
- 1.8 – Fixed images not working in web containers with a non-root context. HUDSON-7846
- 1.7 – Makes build time trend green for successful builds. Reported in Issue 6838. Thanks to Kohsuke for the implementation tip, which was spot on.
- 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.
Comments (48)
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.
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.
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...
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.
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.
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.
Mar 05, 2010
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.
Mar 06, 2010
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".
Nov 03, 2010
Deezer Deezer says:
I had to clear the cache in Chromium to get the green balls to show in Chrome. ...I had to clear the cache in Chromium to get the green balls to show in Chrome. Otherwise they showed as broken links.
Sep 20, 2011
Shankar Ramasamy says:
Same is the case on Mozilla Firefox. Clearing "Offline Storage" in Tools-> O...Same is the case on Mozilla Firefox.
Clearing "Offline Storage" in Tools-> Options-> Advanced-> Network tab and a restart of browser helps.
Thanks,
Shankar R
Apr 09, 2010
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.
Apr 12, 2010
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.
Apr 12, 2010
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.
May 17, 2010
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
Jun 17, 2010
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!
Jun 17, 2010
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:
Jun 17, 2010
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,
Sep 28, 2010
HEJIE says:
Hi, the green ball shows up~~ some tips: 1, Using IE, the green ball would imme...Hi, the green ball shows up~~
some tips:
1, Using IE, the green ball would immediately shows up
2, Using Chrome, only the balls on build detail page is replaced into green,
to replace all the blue balls into green balls, there is one solution(tested successfully)
1), Chrome Tools->Clear browsing data, clear all
2), restart Chrome
then you could see the green balls on every pages~~
enjoy~
Jay
Oct 06, 2010
Brian Cerveny says:
If you have color blind users they will likely prefer keeping the blue balls.If you have color blind users they will likely prefer keeping the blue balls.
Oct 18, 2010
Papapetrou Patroklos says:
Hi After upgrading to v1.7 no green balls are displayed and instead of them the...Hi
After upgrading to v1.7 no green balls are displayed and instead of them the word success appears.
Do I miss something in config?
Regards
PP
Oct 20, 2010
john minne says:
Fortunately someone opened a bug: http://issues.hudson-ci.org/browse/HUDSO...Fortunately someone opened a bug: http://issues.hudson-ci.org/browse/HUDSON-7846
You can add yourself to the watch list there.
Oct 26, 2010
Asgeir S. Nilsen says:
There is a snapshot build available from the issue link. I'd appreciate if anyo...There is a snapshot build available from the issue link. I'd appreciate if anyone not using the standard Winstone version could test this one for me.
Oct 22, 2010
dev danke says:
I get same error after upgrading to v1.7 on Hudson v1.3.81 on Tomcat 6 on Solari...I get same error after upgrading to v1.7 on Hudson v1.3.81 on Tomcat 6 on Solaris 10: No green ball on any page.
The green balls did not appear in FF or Chrome, even after cache clearing.
But uninstalling Green Balls plugin v1.7 and manually installing plugin v1.6, FIXED the problem:-)
Oct 19, 2010
Andrey Pugach says:
1.7 doesn't work, no green balls appear at all. And "Test Result Trend" green co...1.7 doesn't work, no green balls appear at all. And "Test Result Trend" green color is not green now but light-green.
Oct 19, 2010
werner mueller says:
same here. with Hudson ver. 1.381 no more green balls (tried both 1.7 and a a d...same here. with Hudson ver. 1.381 no more green balls
(tried both 1.7 and a a downgrade to 1.6)
Oct 26, 2010
Asgeir S. Nilsen says:
The trend graph color is the most prominent color from the green ball. I'll hap...The trend graph color is the most prominent color from the green ball. I'll happily change it if you think another shade of green would be more representative.
Oct 22, 2010
Geoff Kirk says:
I have Hudson 1.381 and upgraded to Green Balls 1.7. The green balls didn't app...I have Hudson 1.381 and upgraded to Green Balls 1.7. The green balls didn't appear so I downgraded to greenballs down to 1.6 and now i see green balls again. All I did was copy the 1.6 greenballs.hpi from http://hudson-ci.org/download/plugins/greenballs into the ~/.hudson/plugins folder and then restart Hudson.
Oct 27, 2010
Thomas says:
Same problem here after upgrade to Green Balls 1.7. The green balls didn´t appea...Same problem here after upgrade to Green Balls 1.7. The green balls didn´t appear
Could you please fix it.
Oct 27, 2010
Terence Müller says:
Using Hudson 1.381, 1.382 and Greenballs 1.7 unable to show icons for green ball...Using Hudson 1.381, 1.382 and Greenballs 1.7 unable to show icons for green balls. When opening the icon itself its says..
<pre>
Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.IllegalStateException: getWriter() has already been called for this response
org.apache.catalina.connector.Response.getOutputStream(Response.java:577)
org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:185)
javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:93)
net.bull.javamelody.CounterResponseStream.<init>(CounterResponseStream.java:39)
net.bull.javamelody.CounterServletResponseWrapper.createOutputStream(CounterServletResponseWrapper.java:76)
net.bull.javamelody.FilterServletResponseWrapper.getOutputStream(FilterServletResponseWrapper.java:110)
javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:93)
org.kohsuke.stapler.ResponseImpl.getOutputStream(ResponseImpl.java:59)
org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:380)
org.kohsuke.stapler.Stapler.serveStaticResource(Stapler.java:217)
org.kohsuke.stapler.Stapler.service(Stapler.java:125)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:420)
org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:43)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:56)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:85)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
</pre>
Oct 27, 2010
Anthony Browne says:
wth?wth?
Oct 28, 2010
Anthony Browne says:
thx!thx!
Jan 01, 2011
Liya says:
Hudson 1.392 and the latest GreenBalls - no green balls, the balls are blue. Dow...Hudson 1.392 and the latest GreenBalls - no green balls, the balls are blue.
Downgrading to GreenBalls 1.6 didn't help this time
Is this going to be fixed??
Jan 02, 2011
Benjamin Neff says:
I have builded a patched version: http://benjamin.coding4coffee.ch/div/greenball...I have builded a patched version: http://benjamin.coding4coffee.ch/div/greenballs.hpi
The new images are .png
Jan 05, 2011
Liya says:
The URL is broken...The URL is broken...
Jan 05, 2011
Benjamin Neff says:
I have deleted it because there is an official version now.I have deleted it because there is an official version now.
Jan 05, 2011
Liya says:
Thanks!Thanks!
Jan 05, 2011
Asgeir S. Nilsen says:
Fixed in version 1.9. Hudson has changed image format for the blue balls, which...Fixed in version 1.9. Hudson has changed image format for the blue balls, which resulted in the green ball filter not triggering.
Jan 05, 2011
Liya says:
1.9 is still not available here: http://hudson-ci.org/download/plugins/greenball...1.9 is still not available here: http://hudson-ci.org/download/plugins/greenballs/ or by Hudson plugins updates..
Jan 06, 2011
Asgeir S. Nilsen says:
Could you try again? It has been picked up on the two Hudson servers I maintain...Could you try again? It has been picked up on the two Hudson servers I maintain. You might need to go to the Advanced tab and force a manual update of the update center file.
Jan 06, 2011
Henk van Voorthuijsen says:
The new green balls have a different color palette as compared to the old versio...The new green balls have a different color palette as compared to the old version - there is is a definite banding effect. Only the "building" blink icon has retained its old, warmer look....
Jan 06, 2011
Ajay Kumar says:
Green balls are only seen on build information page and not on "All project view...Green balls are only seen on build information page and not on "All project view" page.
Jan 06, 2011
Asgeir S. Nilsen says:
Make sure you empty your browser's cache – it might not re-request the ima...Make sure you empty your browser's cache – it might not re-request the images from the Hudson web server.
Jan 06, 2011
Ajay Kumar says:
Thanks that worked.Thanks that worked.
Jan 06, 2011
Liya says:
Thanks! Forcing the manual update of the update center file worked, and now we h...Thanks! Forcing the manual update of the update center file worked, and now we have the green balls.
The old look was much nicer indeed..
Jan 14, 2011
Mansoor Haq says:
Hi, Thanks for updating the images as per... "Newest Hudson has replaced .gif i...Hi,
Thanks for updating the images as per...
"Newest Hudson has replaced .gif images with .png. I'll make an updated version that works with these links as well."
This is now fixed in v1.9 of the plugin. The only problem I see from aesthetic point of view, as it changed the Green color contrast and using a different RGB values than the original one in v1.8.
The new green color is quite sharp and it just doesn't go well with the other green color on the Hudson UI.
I am hoping if this can be taken care of in say v1.10.
My guess is, this maybe because of the file format change from .gif to .png and it really doesn't look good compared to the last release.
Jan 24, 2011
Mansoor Haq says:
I also noticed that, the blinking Green balls (while job is running) are the ori...I also noticed that, the blinking Green balls (while job is running) are the original color balls that it should retain. The steady Green ball should have the same color as the blinking ones.
Feb 01, 2011
nils h says:
Hi, if you are using Chrome browser go to your Options> clearing datas> Em...Hi, if you are using Chrome browser go to your Options> clearing datas> Empty the cache, it worked for me
Jan 29, 2011
Mansoor Haq says:
Thanks for cleaning this up and releasing the new version.Thanks for cleaning this up and releasing the new version.