Send Jenkins feature branch status to Github
Ruby
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.
.gitignore
Gemfile
Gemfile.lock
README.md
status.rb

README.md

Bob Status

Send Jenkins build status to Github Api

Solution

Scraping starts from Feature branch view, so only feature branches are affected

For installation add it to crontab Set environment variables: GITHUB_ACCESS_TOKEN and JENKINS_ACCESS_TOKEN My setup sets them up directly in crontab file

For a moment works only for my commits

For logging setup cron to ruby status.rb >> cron.log