Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Latest commit

 

History

History
44 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

44 lines (26 loc) · 1.24 KB

Slackbot-Atlassian

Build Status

codecov

Slackbot-Jira is a bot for Slack that posts messages from a Jira activity feed.

Usage

You need go and gb install to build the project.

After cloning, you can build and run slackbot-atlassian, setting an environment variable to point it at its config file:

$ gb build all
$ CONFIG=slackbot-config.json ./bin/slackbot-atlassian

Configuration

The config should be a JSON file whose structure corresponds to the Config type in the code (see src/slackbot-atlassian/config.go).

The bot process is told where to get its config with the CONFIG environment variable.

Testing

To run the tests:

gb test all

To include the integration tests:

gb test -tags integration all

The integration tests assume that you have a Redis instance at localhost:6379.

License

Permissively MIT-licensed. See the LICENSE file.