A Lita handler to receive GitLab CI web hooks
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
scripts
spec
.gitignore
.reek
.rspec
.ruby-version
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lita-gitlab-ci-hipchat.gemspec

README.md

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