Statusboard and Jenkins

You probably saw StatusBoard by Panic. I’ve immediately thought it needs simple Jenkins widget.

If you still don’t have your Jenkins CI, you should spend some time and set it up before reading further.

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( for all status types, they will be skinned today to match StatusBoard graphics style.


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.


Script on GitHub


Support my writing: PayPal Tip Jar or become a Patron