Skip to content

Pretz/jenkins_jobs_to_statusboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Jenkins jobs on Panic StatusBoard

This simple script will grab jenkins jobs and put them in HTML table, one that you can use as data source for your StatusBoard.

By generating static html you will be able to use it even if your jenkins CI is only accesible from LAN network. Just use Dropbox or any other service(Apache) to expose output html file.

It uses images from my server(http://merowing.info) for all status types, they will be skinned today to match StatusBoard graphics style.

Follow me on twitter

Installation

Install jenkins_api_client gem on your jenkins machine:

gem install jenkins_api_client

make sure your script is executable by setting proper permission:

chmod +x /path/to/script

Add a cron/launchd scheduled job on your machine to run this script periodically (here it will run every minute):

* * * * * /path/to/script jenkins_ip_adress username password path_to_html

Make sure your path_to_html is pointing to space which will be accessible from your iPad Storyboard. After that just reference that file from your iPad StatusBoard and enjoy seeing your projects status.

References:

https://wiki.jenkins-ci.org/display/JENKINS/Standard+Security+Setup

http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/

About

Ruby script that generates html table for embedding in StatusBoard by Panic http://panic.com/statusboard/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%