Skip to content

A web service for relaying various web hooks (like Travis-CI build notifications) to hall.com chat rooms

License

Notifications You must be signed in to change notification settings

drdamour/hall-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A web service for relaying various web hooks (like Travis-CI build notifications) to hall.com chat rooms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages