Sets the hue light according to a Jenkins build state


Colors your Philips Hue Lights based on a Jenkins build state.

npm install jenkins-hue
var JenkinsHue = require('jenkins-hue');
var jenkinsHue = new JenkinsHue({
    jenkins: {
        host: ''
    hue: {
        host: '',
        username: 'newdeveloper'

Hue light with the ID '1' should reflect the build state (green, red, yellow, deactivated) of a given job:

jenkinsHue.setLightForJenkinsJob(1, 'jruby-dist-1_7');

Hue light reflects the state of the Jenkins view, which means all jobs available under the given host URL. If at least one build failed the light turns red.