Provides a way for jenkins to post to the lita bot and have it notify in whatever (I'm using IRC)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
locales
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
lita-jenkins-notifier.gemspec

README.md

lita-jenkins-notifier

Build Status Code Climate Coverage Status

This plugin will provide a way for the Jenkins Notification Plugin to push notifications to your bot, so it can annoy you in IRC when things fail, or succeed, or some combination of both!

Installation

Add lita-jenkins-notifier to your Lita instance's Gemfile:

gem "lita-jenkins-notifier"

Configuration

jobs (Hash) - A map of job names to channel notifications. Keys should be a regex that matches a job name (Dev.*) . You could match many of the regexpes, all will be tested. Values should be either the string room name, or an array of string room names.

Example

Lita.configure do |config|
  config.handlers.jenkins_notifier.jbos = {
    "JenkinsJob" => "#someroom",
    ".*" => "#spamroom"
  }

Usage

You add to the jenkins notifier plugin to post to the http://<BotHost>:<port>/jenkins/notifications and when builds happen it'll notify in chat based on the matched job name.

License

MIT