crushserver 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/crushserver/recipes.rb +3 -6
- data/lib/crushserver/version.rb +1 -1
- metadata +3 -3
data/lib/crushserver/recipes.rb
CHANGED
@@ -99,17 +99,14 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
99
99
|
|
100
100
|
task :notify_deploy_started do
|
101
101
|
on_rollback do
|
102
|
-
hipchat_client[hipchat_room_name].
|
103
|
-
send(deploy_user, deploy_canceled_message, hipchat_announce)
|
102
|
+
hipchat_client[hipchat_room_name].send(deploy_user, deploy_canceled_message, :notify => hipchat_announce, :color => "red")
|
104
103
|
end
|
105
104
|
|
106
|
-
hipchat_client[hipchat_room_name].
|
107
|
-
send(deploy_user, deploy_started_message, hipchat_announce)
|
105
|
+
hipchat_client[hipchat_room_name].send(deploy_user, deploy_started_message, :notify => hipchat_announce, :color => "yellow")
|
108
106
|
end
|
109
107
|
|
110
108
|
task :notify_deploy_finished do
|
111
|
-
hipchat_client[hipchat_room_name].
|
112
|
-
send(deploy_user, deploy_finished_message, hipchat_announce)
|
109
|
+
hipchat_client[hipchat_room_name].send(deploy_user, deploy_finished_message, :notify => hipchat_announce, :color => "green")
|
113
110
|
end
|
114
111
|
end
|
115
112
|
|
data/lib/crushserver/version.rb
CHANGED
metadata
CHANGED