UNPKG

950 BMarkdownView Raw
1# Hubot Bitbucket Pull Requests
2
3List all BitBucket open Pull Requests in all or selected repositories
4
5## Features
6
7* List all Pull Requests of all selected repositories
8* List Pull Requests of an unique selected repository
9
10## Installation
11
12In your hubot directory, run:
13
14`npm install hubot-bitbucket-pullrequests --save`
15
16Then add *hubot-bitbucket-pullrequests* to your external-scripts.json:
17
18```json
19["hubot-bitbucket-pullrequests"]
20```
21
22## Configuration
23
24Set the following environment settings:
25
26```
27HUBOT_BITBUCKET_REPOSITORIES=owner/repo,owner/repo # with repositories which you want to list open Pull Requests.
28HUBOT_BITBUCKET_AUTH_USER=your_username # with your BitBucket username login.
29HUBOT_BITBUCKET_AUTH_PASS=your_password # with your BitBucket password login.
30```
31## Commands
32
33```
34hubot list pull-requests - List pull requests of all repositories
35hubot list <repository> pull-requests - List pull request of a selected repository
36```