Skip to content

A hubot script for searching and browsing Confluence. Very super.

Notifications You must be signed in to change notification settings

lchi/hubot-super-confluence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-super-confluence

A hubot script for searching and browsing Confluence. Very super.

With HUBOT_SUPER_CONFLUENCE_AUTORESPONSE_TEXT your bot can hear and respond to questions with searches automatically.

See src/super-confluence.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-super-confluence --save

Then add hubot-super-confluence to your external-scripts.json:

[
  "hubot-super-confluence"
]

Configuration:

You'll need to set the following environment variables to get started:

HUBOT_CONFLUENCE_USERNAME - Confluence username.
HUBOT_CONFLUENCE_PASSWORD - Confluence password.
HUBOT_CONFLUENCE_HOST - Hostname of the Confluence instance.
HUBOT_CONFLUENCE_CONTEXT (optional) - Often '/wiki', defaults to ''
HUBOT_SUPER_CONFLUENCE_AUTORESPONSE_REGEX (optional) -
  Sets up a `hear` callback on the first capture group of the regex.
  For example, if set to "how do i (.*)" and someone asks 'how can i
  deploy' then the Confluence will be queried with `deploy`.

Sample Interaction

user1>> hubot wiki deploy
hubot>> 1 match found (limit: 5)
hubot>> ...

About

A hubot script for searching and browsing Confluence. Very super.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published