Skip to main content

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 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.

Source Distribution

jenkins-epo-1.140.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

jenkins_epo-1.140-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file jenkins-epo-1.140.tar.gz.

File metadata

  • Download URL: jenkins-epo-1.140.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jenkins-epo-1.140.tar.gz
Algorithm Hash digest
SHA256 eb2fa241e8c7b4ba29aca9019437745a0bd48dcff11bc0b5beaee3ca6ccfb795
MD5 af46222c2d40627079104409e041009d
BLAKE2b-256 0c95cbae757b597fd38d31e9f1e803c9fa215b86874ea974c0a82c8f850a2af5

See more details on using hashes here.

Provenance

File details

Details for the file jenkins_epo-1.140-py3-none-any.whl.

File metadata

File hashes

Hashes for jenkins_epo-1.140-py3-none-any.whl
Algorithm Hash digest
SHA256 8d0d8df60e3c9a7974fde47e5600db0616d10f076afd241f668b83e60ee598e3
MD5 78a265dd9ba3c82d930d088b6dd74d9c
BLAKE2b-256 0fc4591eb55cb2ae0a449d69205a91a6e2363a10891be5b2bbbbd2e6c3a94694

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page