Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Leverage Jenkins features for GitHub repositories.

Project description

Time for kickass CI !

Hulk

Jenkins EPO

Documentation CI Status Code coverage Version on PyPI

Implements extended CI features on top of Jenkins and GitHub for in-house CI.

Features

  • Define jobs from repository in jenkins.yml.
  • Jobs pipeline façon GitLab CI.
  • Query GitHub API to poll open PR instead of polling git repository.
  • Read instructions from PR comments.
  • Cancel running jobs when pushing new commits.
  • Report issue on broken protected branches.
  • Auto-merge PR.
  • Works with webhook and/or behind firewall.
  • Extensible through entry-point.

Quickstart

On your poller host:

pip3 install jenkins-epo
# Setup env vars
export JENKINS_URL=http://myjenkins.lan JOBS_CREDENTIALS=clone-creds
export GITHUB_TOKEN=YOUR_SECRET_TOKEN REPOSITORIES=owner/repo
# Check repository is manageable
jenkins-epo list-heads
# Trigger a dry run
DRY_RUN=1 jenkins-epo process https://github.com/owner/repo/tree/master
# Run it for real
jenkins-epo bot

Now write a jenkins.yml file and open a PR:

myjob: |
    tox -r

Many instructions are available. Just ask the bot by commenting jenkins: help in an open PR!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jenkins-epo, version 1.160
Filename, size File type Python version Upload date Hashes
Filename, size jenkins_epo-1.160-py3-none-any.whl (49.9 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size jenkins-epo-1.160.tar.gz (34.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page