|
Project Information
Members
Featured
Downloads
Wiki pages
|
IntroductionThere are lots of stuff we can do to make fun with Continuous Integration. We can make our computer shout 'build-------failed!', or we can make keyboard light blink randomly and quickly, or we just pop up a message to tell ourselves what's happened with build... CC Monitor works on RSS of CruiseControl. It also can work on any CI Build Tool which provides RSS to report build status. The default rule to assert successful build is rss item title contains 'success', 'fixed' or 'passed'. CC Monitor 1.2 releasedFixed bug: can't update widget panel UI when refresh widget panel has error Changed: command "say" will not be asynchronism Upgrade: can get committers while monitoring CruiseControl 2.7.x. CC Monitor 1.1 releasedFixed bug: refresh settings page while configuring setting first time Upgrade: default notifications including display message by Growl, say and display build status will be triggered asynchronism. CC Monitor 1.0 releasedCC Monitor is upgraded to be a ruby internal DSL runner and needs ruby installed. For previous versions built on javascript eat too much memory and CPU time, the core of CC Monitor is rebuilt on ruby, and the widget will be only used as a view to display build status. After start CC Monitor, a ruby process will be running background. The simplest script for monitoring a buildobserve build mingle => 'http://server/projects/minlge.rss' This script will display build status icon on your widget. How CC Monitor works
Custom CC Monitor scriptcommitters xli => lee, pwang => wpc, "build" => "bu def"
build mingle => 'http://server/projects/minlge.rss'
build rubyworks => 'http://server/projects/rubyworks.rss'
# the build name followed monitoring keywords should be defined above
keep eyes on mingle, rubyworks do
display build status icon
tell growl build message if cant load build
if build new?
tell growl build message, committers
if build succeeded?
say "stand clear, #{build message, committers}" #use the message and committers info get from build as a string
else
say build message, committers
end
end
end
|