No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitignore
.ruby-version
BSD-LICENSE.txt
Gemfile
README.md
circuit.png
jenkins.rb
sample_config.rb

README.md

#Jenkins CI Traffic Light for Raspberry Pi

Once a complete circuit has been made this script that will will emulate a traffic light for your overall jenkins build status, Green for all passed, Amber (flashing) for building and Red for a failure.

Currently the only authorisation method supported is basic http authentication.

###Prerequisites

  • Raspbian “wheezy” > 2013-05-25
  • Ruby == 1.9.3
  • Rubygems

If you don't have Ruby installed on your Pi follow this guide

###Setup

  • gem install bundler if you don't already have it installed
  • bundle install
  • Rename sample_config.rb to config.rb
  • Enter your credentials, and server url
  • Specify Authentication method, either :basic or :password
  • Set GPiO pin numbers
  • Setup circuit
  • run ruby jenkins.rb

###Circuit Diagram Jenkins CI Traffic Light for Raspberry Pi Circuit Diagram

###License Licensed under New BSD License

###To Do

  • Add more auth methods
  • Add "back off" for http connection error