status

<img src=“https://secure.travis-ci.org/dougdroper/status.png?branch=master” alt=“Build Status” />

Updates pull requests on github using the statuses api (developer.github.com/v3/repos/statuses/), with latest build from Jenkins and QA status

Usage

gem install update_status

on your branch run

$: status

This will generate a .status.yml file in the current directory, you will need to edit this file with your credentials.

.status.yml:


:username: Jenkins username

:token: Githubs API token (developer.github.com/v3/oauth/)

:owner: eg. dougdroper

:password: Jenkins password

:repo: eg. status

:ci_url: eg. ci.jenkins.com

add .status.yml to .gitignore

When your branch has passed QA

$: status -s pass

You can pass a different branch

$: status -b other_feature_branch

or

$: status -b other_feature_branch -s pass

help

$: status -h

Contributing to status

  • Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.

  • Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.

  • Fork the project.

  • Start a feature/bugfix branch.

  • Commit and push until you are happy with your contribution.

  • Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright © 2012 Douglas Roper. See LICENSE.txt for further details.