Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.43 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.43 KB

Master Build Status Coverage Status

Hall.com Web Hook Integrations

A web service for relaying various web hooks to hall. You can use the deployed application at http://hall-hooks.herokuapp.com/ to test.

Travis-CI Integration

Go to https://hall.com/docs/integrations/generic/ and get the room token that you wish to notify. For this example suppose your token is 1234roomtoken. Next, add the following configuration to your .travis.yml file:

notifications:
  webhooks:
    urls:
      - https://hall-hooks.herokuapp.com/travis-ci/buildnotification/1234roomtoken
    on_start: true

Note: You can use the travis CLI tool to encrypt the url if you don't want to publish your room token (Hall hooks won't remember it)

travis encrypt https://hall-hooks.herokuapp.com/travis-ci/buildnotification/1234roomtoken

and add the output to your .travis.yml like this:

notifications:
  webhooks:
    urls:
      - secure: ecryptedgobblygookFdEd857iwZpN2PAFMsNBAZQdcU9bu
    on_start: true

Modify the hook configuration per http://docs.travis-ci.com/user/notifications/#Webhook-notification you can send notes to multiple rooms by adding multiple urls to the urls section.