Jenkins - Adding Build Lights - Delcom 904008

Adding a build light notification to your Jenkins server/setup can provide immediate visual feedback to your development team regarding application builds.

The following is for setting up on a Windows machine and assumes you already have Jenkins installed locally or on a server.

Required Hardware:

  • Delcom USB HID Visual Indicator RGY - 904008, approx $90.
Delcom 904008, RGY
Required software:
Place the Delcom.dll in the same directory as the project.  You should be able to run the "xmas_led.rb" to confirm things are working correctly.

Verification
Once the software is installed plug in the USB light. Windows should install a driver.

Verify in Device Manager:

Note: If you have used libusb or libusb-win32 you may need to remove the device from Device Manager before continuing.

Jenkins URL

You will need the uri for the xml output from jenkins. 
  • for example:http://localhost:{port}/job/{project name}/api/xml 
Monitoring your project

ruby -I. poll_jenkins.rb http://localhost:8080/job/TestProjectAutoBuild/api/xml 1 5

Status Lights
  • Green, Build is all is good
  • Yellow, Some Unit Tests Failed
  • Red, Build Failed
References:

Comments

Popular posts from this blog

Setting up SVN on Apache on Windows

SVN to Hudson/Jenkins - Repository Hooks