poke-jenkins: Mercurial extension for triggering jenkins jobs
The poke-jenkins is a Mercurial extension that for the heads of an incoming changeset starts a Jenkins job.
Installation
pip install poke-jenkins
Configuration
An example of .hg/hgrc of your remote repository:
[extensions]
poke_jenkins =
[poke_jenkins]
# Jenkins url
jenkins_base_url = http://ci.example.com
# List the jobs you want to start
jobs = Project_Tests_Dev Project_Coverage_Dev
# Feel free to change this parameter
tag = foo
# The url which Jenkins will use to clone the repository
repo_url = ssh://code.example.com//example
# Timeout in seconds
timeout = 10
# Jenkins user id
username = foo
# Jenkins API Token
password = bar
# Branch regular expression filter
branch_regex = ^c\d{4}
Usage
With given configuration above, it will call jenkins jobs to start builds:
http://ci.example.com/job/Project_Tests_Dev?TAG=foo&NODE_ID=<mercurial commit hash>&BRANCH=<branch name>&REPO_URL=ssh://code.example.com//example
http://ci.example.com/job/Project_Coverage_Dev?TAG=foo&NODE_ID=<mercurial commit hash>&BRANCH=<branch name>&REPO_URL=ssh://code.example.com//example
It will add basic auth headers to authenticate the calls if username and password settings are set.
Python3 support
Package itself supports python3 out of the box, but not mercurial ATM.
Contact
If you have questions, bug reports, suggestions, etc. please create an issue on the GitHub project page.
License
This software is licensed under the MIT license
See License
© 2013 Paylogic International.
Metadata
Release files for poke-jenkins 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poke-jenkins-1.1.1.tar.gz | 3.7 kB | Without provenance | Details for poke-jenkins-1.1.1.tar.gz |
Release files / poke-jenkins-1.1.1.tar.gz
| Download URL | poke-jenkins-1.1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f024e764e8e9a7a51e2001e829af83a273771428244f4fd38ec90cd8967987f
|
|
BLAKE2b-256 checksum How to use checksums |
18a104a9cccc895971b9d795bbd3f3cc1d7798295da0df3b6807a13a672d64a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for poke-jenkins 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.