Skip to content

dkowis/lita-jenkins-notifier

Repository files navigation

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

About

Provides a way for jenkins to post to the lita bot and have it notify in whatever (I'm using IRC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages