/lita-jenkins

Lita interaction with your Jenkins CI server

Primary LanguageRubyMIT LicenseMIT

lita-jenkins

Build Status

Interact with your Jenkins CI server

Installation

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

gem "lita-jenkins"

Configuration

Required attributes

  • url (String) - Your Jenkins CI url. Default: nil.

Optional attributes

  • auth (String) - Your Jenkins CI username and password. Default: nil.

Example

Lita.configure do |config|
  config.handlers.jenkins.url  = "http://test.com"
  config.handlers.jenkins.auth = "user1:sekret"   
  config.handlers.jenkins.api_key = "6cae34299da4d34eb6f90c9a7a11735f"   
end

Configure the API Key if you do not wish to use a username/password. You do not need to configure both.

Usage

 [You] Lita: jenkins list
[Lita]
[1] DISA chef_converge
[2] SUCC deploy
[3] FAIL build-all

 [You] Lita: jenkins list fail
[Lita]
[3] FAIL build-all

## License

[MIT](http://opensource.org/licenses/MIT)