Giter Site home page Giter Site logo

lita-gitlab2jenkins_ghp's Introduction

lita-gitlab2jenkins_ghp

Build Status Code Climate Coverage Status

lita-fitlab2jenkins_ghp is a Lita that uses GitLab webhooks and ci-status to be build with Jenkins.

Installation

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

gem "lita-gitlab2jenkins_ghp"

Configuration

REQUERIMENTS:

You will need to install on Jenkins the next plugins =>

Gitlab Hook Plugin 1.0.0, Embeddable Build Status 1.4, Notification Plugin 1.5

Example usage YML

Lita.configure do |config|
  config.handlers.gitlab2jenkins_ghp.room                 = '#error_channel'
  config.handlers.gitlab2jenkins_ghp.url_gitlab           = 'http://gitlab.example.com'
  config.handlers.gitlab2jenkins_ghp.url_jenkins          = 'http://jenkins.example.com'
  config.handlers.gitlab2jenkins_ghp.url_jenkins_hook     = '/gitlab/build_now'
  config.handlers.gitlab2jenkins_ghp.url_jenkins_img      = '/buildStatus/icon?job='
  config.handlers.gitlab2jenkins_ghp.url_jenkins_icon     = '/static/843013a3/images/jenkins.png'
  config.handlers.gitlab2jenkins_ghp.private_token_gitlab = 'some_gitlab_token_from_admin_user'
  config.redis.host                                       = 'redis.example.com'
end

For more understanding please read wiki

License

MIT

TODO:

  • Make tests for GET scenarios when GitLab queries ci status
  • Refactoring gem to nit loggic flow
  • Add scenario for "Tag push events" on next version

WTF

Since GitLab is charging for this functionality in it's enterprise http://doc.gitlab.com/ee/integration/jenkins.html, I moved it to a private bucket for no more unethical practice.

For Social Working goto

https://bitbucket.org/jcalonsoh/lita-gitlab2jenkins_ghp/wiki/Home, and request participation =)

lita-gitlab2jenkins_ghp's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.