lita-gitlab-ci-hipchat

Gem Version Build Status Coverage Status Code Climate Dependency Status

Receive and display nicely web hooks from GitLab CI in HipChat.

Installation

Add lita-gitlab-ci-hipchat to your Lita instance's Gemfile:

gem 'lita-gitlab-ci-hipchat', '~> 1.1'

For Lita 3.x, use the 1.0 version of this gem.

Configuration

Lita.configure do |config|
  # The API token for your bot’s user
  config.handlers.gitlab_ci_hipchat.api_token = 'token'
  # The room to be notified (HipChat name, not JID)
  config.handlers.gitlab_ci_hipchat.room = 'my_room'
end

Usage

This handler add a HTTP route at /gitlab-ci. So you have to add a web hook pointing to that URL in GitLab CI (http://lita-bot.tld/gitlab-ci).

License

MIT