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


You've successfully subscribed to Krzysztof Zabłocki
Great! Next, complete checkout to get full access to all premium content.
Error! Could not sign up. invalid link.
Welcome back! You've successfully signed in.
Error! Could not sign in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.