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.
Required software:
- Ruby (1.9.3 or above)- http://www.ruby-lang.org/en/downloads/
- Delcom DLL - http://www.delcomproducts.com/productdetails.asp?ProductNum=890510
- delcom-util github project - https://github.com/sfbishop/delcom-util - modified to work with Jenkins
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
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
Post a Comment