Browse files

removes debuggers

  • Loading branch information...
1 parent a5b6820 commit e7b599a987410d140cb4c0149a514052d445e902 @andrewpbrett committed Dec 29, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 cruisecontrolrb_to_hipchat.rb
View
3 cruisecontrolrb_to_hipchat.rb
@@ -12,8 +12,7 @@ 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]}."

0 comments on commit e7b599a

Please sign in to comment.