Hubot bitbucket-hipchat
A hubot script to receive BitBucket pull requests notifications in HipChat.
Installation
Update Hubot's package.json to install hubot-bitbucket-hipchat from npm, and update Hubot's external-scripts.json file to include the hubot-bitbucket-hipchat module.
Update the files to include the hubot-bitbucket-hipchat module:
package.json
...
"dependencies": {
...
"hubot-bitbucket-hipchat": ">= 0.0.1"
...
},
...
external-scripts.json
["hubot-awesome-module","hubot-bitbucket-hipchat"]
Run npm install
to install hubot-bitbucket-hipchat and dependencies.
Configuration
This module uses the following environment variables:
HUBOT_BITBUCKET_PULL_REQUESTS_ROOM
The room API ID you want the bot to post in which can be found in the room admin page. It will look something like 123456
.
HUBOT_HIPCHAT_TOKEN
This is your token's HipChat API, see API Documentation
BitBucket hook
Add a pull request hook with the following URL: https://<bot-name>.herokuapp.com/hubot/bb-pull-requests
.