/ci-monitor

A simple way to radiate jenkins build status using pure javascript

Primary LanguageJavaScript

Jenkins Monitor

A project aims at helping you show status of build in blue(building), red(failure), green(success) box on jenkins. Works with any CI server which supports cctray compatible xml. This includes Jenkins, Teamcity, Thoughtworks GO, CruiseControl, CruiseControl.rb, etc

Why

It's very important to radiate build status on jenkins(passively). So that everybody in the team can just raise your head a little bit and take a look at the builds on screen(it could be in big TV),whether it is red/blue/green. Also it borrows very similar metaphor from Test Driven Development rhythm. Red color box means that build is failed, someonebody in the team may need to take a look at it;Green means "yep, success";Blue means that build currently is building; Grey means that build is aborted or disabled.

Prototype

How to Use

git clone git://github.com/selvakn/ci-monitor.git

Clone this inside the installation of the CI. This is to avoid cross domain issue. This is uncessary if the url supports CORS.

Then copy or rename conf/config.js.sample to conf/config.js:

copy conf/config.js.sample conf/config.js

or

mv conf/config.js.sample conf/config.js

And open conf/config.js to change your jenkins ci address and jobs name you want to show on dashboard like following:

	var ci_url = "view/Ruboto";
	var jobs_to_be_filtered = ["apitest", "ergonomics"];

Then run from command line:

	open http://ci.url/ci-monitor/index.html -a safari