Hipchat Recipe
require 'contrib/hipchat.php';
Configuration
hipchat_token
– Hipchat V1 auth tokenhipchat_room_id
– Room ID or namehipchat_message
– Deploy message, default is_{{user}}_ deploying
{{what}}to *{{where}}*
hipchat_from
– Default to targethipchat_color
– Message color, default is greenhipchat_url
– The URL to the message endpoint, default is https://api.hipchat.com/v1/rooms/message
Usage
Since you should only notify Hipchat room of a successful deployment, the hipchat:notify
task should be executed right at the end.
after('deploy', 'hipchat:notify');
Configuration
hipchat_color
Default value
'green'
hipchat_from
Default value
'{{where}}'
hipchat_message
Default value
'_{{user}}_ deploying `{{what}}` to *{{where}}*'
hipchat_url
Default value
'https://api.hipchat.com/v1/rooms/message'
Tasks
hipchat:notify
Notifies Hipchat channel of deployment.