We've been using this script at work to show the build status using lava lamps =).
To control the lamps we use a TellStick which is a transmitter that plugs into USB and lets us control wireless remote switches.
http://gist.github.com/89810:Posted by joakimk, Fri Apr 03 18:11:00 UTC 2009
We've been using this script at work to show the build status using lava lamps =).
To control the lamps we use a TellStick which is a transmitter that plugs into USB and lets us control wireless remote switches.
http://gist.github.com/89810:Posted by joakimk, Thu Jan 15 18:12:00 UTC 2009
I used the following to allow logs larger than 100KB in CruiseControl.rb:
# Number of times more logging than the default MORE_LOGGING = 5 Build.class_eval do def contents_for_display(file) return '' unless File.file?(file) && File.readable?(file) if File.size(file) < 100 * 1024 * MORE_LOGGING File.read(file) else contents = File.read(file, 100 * MORE_LOGGING) "#{file} is over #{100 * MORE_LOGGING} kbytes - too big to display in the dashboard, output is truncated\n\n\n#{contents}" end end end