Skip to main content
Version: 8.x

Hipchat Recipe

require 'contrib/hipchat.php';

Source

Configuration​

  • hipchat_token – Hipchat V1 auth token
  • hipchat_room_id – Room ID or name
  • hipchat_message – Deploy message, default is _{{user}}_ deploying {{what}} to *{{where}}*
  • hipchat_from – Default to target
  • hipchat_color – Message color, default is green
  • hipchat_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​

Source

Default value
'green'

hipchat_from​

Source

Default value
'{{where}}'

hipchat_message​

Source

Default value
'_{{user}}_ deploying `{{what}}` to *{{where}}*'

hipchat_url​

Source

Default value
'https://api.hipchat.com/v1/rooms/message'

Tasks​

hipchat:notify​

Source

Notifies Hipchat channel of deployment.