The Jenkins Bell Rings …
Join the DZone community and get the full member experience.Join For Free
we all love webapps, but in the former days applications have done so much more. they were integrated into our desktops, they have done notifications in real time, they could be customized to our own needs …
but let’s start at the beginning:
in my current project we have a large number of jenkins jobs running, some of them are responsable for long running tests und some will check if branches merge without conflict. so there is a lot of potential of things that can and will break and in a large team you will be very happy when you can fix it fast, before someone gets hurt
now, you might say, use the jabber plugin to get notifications and yes we have the jabber plugin running, but the connection between jenkins and our jabber server is somehow unstable.
so i thought, as developer, why not create my own script which let me poll the state of the jenkins jobs and aggregate the results. after a little google session i found the jenkins rest api, hacked a small groovy script which polls this api and done the notification via the mac os x ‘say’ command. later i found a tool in the apple app store which allows me to display the output of a command line script on the desktop in really nice way…
so the first incarnation of jenkinsbell was born …
after a short while some colleges of mine got aware of the cool looking desktop background and they used the script too. and like customers, they always want more shiny features…
and so a full featured mac os x application was built around the small groovy script to integrate in a nifty way with the desktop.
currently supported features :
- monitors multiple jobs on multiple servers
- organize jobs in groups
- open jobs/builds page in browser
- spoken notifications (optional)
- popup notifications (optional)
- system tray integration (optional)
- dock integration on mac osx
- notification center integration on mac osx (via bundled up terminal-notifier )
- support for authentication token for secured jenkins
- configuration gui
- geektools integration
enjoy the screenshot gallery:
how to get it?
use git to get a running version from
with a single command:
git clone git://github.com/comsysto/jenkins-bell.git /applications/jenkinsbell.app
if you like the app or if there are any features you might miss, please leave a comment…
my next blog post will describe some of the inner workings of jenkinsbell and how you can build a full featured, build-less mac os x application from a bunch of groovy scripts.
Published at DZone with permission of Comsysto Gmbh, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.