Show build state via an LED on your Pi
This project is for a Jenkins plugin to control the LedBorg module for the Raspberry Pi. It uses the pi4j / wiringpi libraries to drive the GPIO pins.
- Install Java (must be 1.7+)
- Install Maven
- Clone this repo
- run 'mvn clean install'
- Install hpi file to Jenkins
If not already present, install Jenkins. I recommend using this method:
wget -q -O - https://jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
Once installed the Jenkins user needs various groups configuring:
sudo adduser jenkins gpio
Install the plugn.
Configure the plugin by adding it as a Post Build Action. This allows selection of LED colour per build state.
PiBorg / LedBorg: https://www.piborg.org/ledborg
Pi4J Project: http://pi4j.com/
WiringPi Native Library: http://wiringpi.com/