Arduino-ci-checker

Automatically exported from code.google.com/p/arduino-ci-checker

View the Project on GitHub MeatDuck/arduino-ci-checker

Intro

Let me present our recent continuous integration Traffic light notifier project that we just finished in the office. This project stemmed from my company's desire to immediately know if a developer has broken a software project, and what better way to do that than to have a huge red light flashing in your face. We connected an tree colored diods fixture to our Jenkins CI-server that monitors the testing status of all of our current software projects. If all our tests are passing, the light stays green, if any test fails the light turns red to provide a visual notification of a problem. While Jenkins is running a test suite on any project, the yellow light will flash to let us know of the activity.

Dependences

The Java code will create a serial connection with the Arduino to send data, then create a web connection with the CI server to request the build status data via our CI server's built in API. A quick look through the returned data will give us a chance to see if there are any problems – if so, we'll send a signal to the Arduino to change the light status, otherwise it stays green. The java programm requires 3 lib dependencies to run: