MMore/hue-light-plugin — pull request #5 by cambler (2014-04-27 02:18:56+00:00)
Title: Configurable Colors!

So here's the changes -

The main configuration now has configurations for color temperatures for blue, green, yellow and red. What I really want to do is find a library that matches names to hue values, but for now, these four get the job done. I deepened my green a little, for example. I deliberately did not configure sat and brightness in this branch because I want to play with them first.

Then, each individual usage per project lets you set the color for preBuild, goodBuild, unstableBuild and badBuild.

You can use the strings "blue" or "green" or "yellow" or "red" and then you can also use a numeric absolute H value if you want.

I made the preBuild() action pulse the color to indicate that a build is actually running :-)

I removed the LightColor class because it's no longer needed - everything's configured inline. But like I said, I want to play with full HSB and I'm also looking into code for more advanced color pulsing, so a LightColor class might come back in a future branch.

Let me know what you think - this is already running here at work (I work at GoDaddy)