Script Software Stuff Coding Mail me! GuzZzt.com
GuzZzt.com  


Jenkins Build Status Sign
Spreading/ broadcasting information that is sent on regular interval and that is most of the time the same can be a bit tricky. This easy sign solve several of the issues surrounding this.
  • You can not miss it in the morning on your way to your computer. Getting the status by a website is easily missed. It is too much work if you need to open the web browser to see the status, trivial tasks that most of the time gives the same result is easily skipped.
  • It is fully automated. It should not relay on a person updating a whiteboard with current status or anything like that. One day he/she might forget it or not be able to update it and the information will be out of date or wrong.
  • It is easy for persons outside the team to get the status as well. A mailing list is often limited to a few persons, so if anyone else wants to know the status they have to disturb the team and ask them.
  • It is easy to interpret. A long status mail with all the details needs time to understand. Nightly build status should be easy to read, failed/passed and then if it failed you can open the full report to get all the details.

Hardware



Hardware
The screen is build around the cheap "Tolsby" frame from Ikea. It is molded in plastic so there is room in the frame for a couple of LEDs and some wires. The screen itself is replaced with a sheet of 2-3 mm transparent acrylic with the text laser engraved. I used six read and six green LEDs. I choose to use 1206 SMD LEDs together with 1206 SMD resistors. It was easy to then glue them to the side of the acrylic. All LEDs of the same color are grouped together and controlled by a NPN transistor 2N2222A. Because of network policy I choose to not connect the Arduino directly to Jenkins but instead connected it to the computer with the USB connection. But in a simpler network environment I would probably have used an Ethernet shield.

Software – Arduino
The software is very simple. It monitors the serial connection from the computer. If it receives "F", it will light up the red lights, "S" the green and "B" starts to flash both red and green to get yellow color.


Software – Windows
It checks the Jenkins JSON output for one or more tasks every 10 minutes. It then combines them into one global status that is written on the serial port. A config file is used to specify the Jenkins URLs and the com port address.


Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware

Hardware


  Stuff
Flap Display Split Flap Display
Building a split flap display.
Word clock Word Clock
Showing time/date with words.
Hot Plate Hot Plate
For reflow soldering.
Jenkins Build Status Sign Jenkins Build Status Sign
Show the nightly build status.
Light Painting Stick Light Painting Stick
Paint images with light.
Vattenkylning Vattenkylning
Vårat vattenkylnings projekt.(Swe only)
Links Links
Some useful and cool links.
Copyright © 2014 Gustav Evertsson All Rights Reserved.