hubot-rainforest
Version:
Hubot plugin that interfaces with Rainforest (https://www.rainforestqa.com/)
34 lines (23 loc) • 918 B
Markdown
# Hubot-Rainforest
[Hubot](http://hubot.github.com/) script to interface with [Rainforest QA](https://www.rainforestqa.com/).
## Installation
Add a dependency to your Hubot instance using NPM:
```bash
$ npm install --save hubot-rainforest
```
Then add this script to the `external-scripts.json`:
```json
["hubot-rainforest"]
```
You'll need to get your Rainforest token from your [Rainforest settings page](https://app.rainforestqa.com/settings/account), and stick it in an environment variable in your deployment.
For heroku, that looks like this:
```bash
$ heroku config:set HUBOT_RAINFOREST_TOKEN <token>
```
## Commands
```
> hubot rf subscribe - Subscribe the current channel to test-run status updates
> hubot rf unsubscribe - Remove this room from the subscription list
> hubot rf status - Query the last 5 test runs
> hubot rf subscriptions - List the rooms that are subscribed to status updates
```