Giter Site home page Giter Site logo

ruby-raspberrypi-jenkins-ci-trafficlight's Introduction

#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

ruby-raspberrypi-jenkins-ci-trafficlight's People

Contributors

sebashton avatar

Stargazers

Kyle Ladd avatar Miguel Kano avatar Takahiko Inayama avatar Carol Willing avatar Paul Williamson avatar Sriram Gullapalli avatar Emile Swarts avatar

Watchers

Stephen Strudwick avatar Rory MacDonald avatar Mark Sta Ana avatar Ryan MacGillivray avatar Kyle avatar Matt Bee avatar Steve Hunt avatar James Cloos avatar  avatar Adrian Clay avatar Ross McFadyen avatar Paul McManus avatar Henrique Ferreira avatar Richard Race avatar  avatar Neil Kidd avatar Chris Blackburn avatar  avatar Alexandre avatar Antony O'Neill avatar Benjy Stanton avatar Fareed Dudhia avatar John Nicholas avatar Joe Roberts avatar Lewis Dale avatar Gareth Pitt-Nash avatar Christopher Gunn avatar  avatar Georgios Manolas avatar Alice Lee avatar Stu Mackellar avatar  avatar J G avatar el avatar Luke Bennellick avatar Dominic McLoughlin avatar Shaun Wild avatar Miroslav Palka avatar Marten Wetterberg avatar  avatar Derek McMade avatar Jack Musajo avatar Tasmin Steer avatar Kyle Jones avatar Jaseera Abubacker avatar Mark Wright avatar Emir Demirbag avatar Emma Blott avatar Vincent Farah avatar Jack Trute avatar Richard Cane avatar  avatar

Forkers

creationmachine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.