A project aims at helping you show status of build in blue(building), red(failure), green(success) box on jenkins. It willl also show additional information about unstable builds in a row. By using jquery jsonp support and jenkins built-in jsonp reponse support, implementing this is just a piece of cake.
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.
git clone git://github.com/cogitatio/jenkins-monitor.git
Then open dashboard.html to change your jenkins ci address and jobs name you want to show on dashboard like following:
new jenkinsDashboard({
// the url of the Jenkins Server
jenkinsUrl: 'ci.qa.local',
// Path to the view, that shall be displayed
view: "/view/All",
// the css selector or dom object to which the Dashboard will be renderd. Default is document.body (full screen)
el: document.body,
// jobs to be shown, if [] all jobs of the view are shown
showOnlyJobs: [],
hideJobs: ['Unimportant Test'], // jobs to be excluded
updateInterval: 4000, // in milliseconds
buildOptions: {
'Trunk Nightly' : {
'ageWarning' : 3600*24,
'ageError' : 3600 * 24 * 3
}
}
});
Then run from command line:
open dashboard.html -a safari
This project is still working in progress. Suggestions? Email to: [email protected]