Skip to content
This repository has been archived by the owner on Mar 13, 2019. It is now read-only.

Commit

Permalink
more heroku debugging...
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpbrett committed Dec 29, 2011
1 parent 75186b0 commit 4fec032
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cruisecontrolrb_to_hipchat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class CruisecontrolrbToHipchat < Sinatra::Base
scheduler.every("#{ENV["POLLING_INTERVAL"] || 1}m") do

status_hash = Cruisecontrolrb.new(ENV["CC_URL"], ENV["CC_USERNAME"] || "", ENV["CC_PASSWORD"] || "").fetch

puts @activity
puts @status
unless status_hash.empty?
if status_hash[:activity] == "Building" and @activity != "Building"
Hipchat.new.hip_post "CruiseControl has started a #{status_hash[:link_to_build]}."
Expand Down

0 comments on commit 4fec032

Please sign in to comment.