Giter Club home page Giter Club logo

err-jenkins's Introduction

err-jenkins

Travis branch

errbot plugin to interact with Jenkins, including receiving build notifications.

Usage

Talk with the bot for help:

!help Jenkins

Development

Clone:

git clone [email protected]:ESSS/err-jenkins.git
cd err-jenkins

Create a virtual environment with Python 3.6 and activate it. Using conda:

conda install -n root virtualenv
virtualenv .env36
.env36\Scripts\activate

It is important to use a pure virtual environment and not a conda environment.

Install dependencies:

pip install -r dev-requirements.txt

Run tests:

pytest test_esss_jenkins.py

Run bot in text mode

Create a bot for local development:

errbot --init

And edit the generated config.py:

  • Change @CHANGE_ME to your username.
  • Change BOT_EXTRA_PLUGIN_DIR to point to the current directory.

Start it up with:

errbot -T

To talk with Jenkins you need to configure the bot. Execute:

!plugin config Jenkins
{'JENKINS_TOKEN': '',
 'JENKINS_URL': 'https://eden.esss.com.br/jenkins',
 'JENKINS_USERNAME': '',
 'ROCKETCHAT_DOMAIN': '',
 'ROCKETCHAT_PASSWORD': '',
 'ROCKETCHAT_USER': ''}

Copy and paste this configuration, setting JENKINS_TOKEN and JENKINS_USERNAME with your Jenkins user/password or token.

err-jenkins's People

Contributors

nicoddemus avatar prusse-martin avatar igortg avatar damianimc avatar

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.