Skip to main content
===============================
PyJenkins
===============================

Python wrapper around the Jenkins JSON API

* Free software: MIT license
* Documentation: http://pyjenkins.rtfd.org.

Features
--------

Query Jenkins jobs and builds, and trigger a build.


Installation
------------

pip install pyjenkins

Usage
-----

>>> from pyjenkins import Jenkins
>>> jenkins = Jenkins("http://jenkins.example.com/", 'username', 'password')
>>> job = jenkins.get_job_by_name('my-job')
>>> build = job.build('auth-token')
>>> build.started
False
...
>>> build.refresh()
>>> build.started
True
>>> build.complete
False
>>> build.estimated_duration
60234
...
>>> build.complete
True
>>> build.successful
True




History
-------

0.1.2 (2013-10-01)
+++++

* Build.get_build() now accepts a job url and optional auth kwarg
instead of a Job instance.
* Adds unit tests.



0.1.1 (2013-09-28)
++++++++++++++++++

* Bugfix for url transformation to API urls.
* Bugfix for some Build status information always returning False
* Python3 support
* Adds .get_job() to JobSummary
* Adds .get_build() to BuildSummary

0.1.0 (2013-09-27)
++++++++++++++++++

* First release on PyPI.

Metadata

Release files for pyjenkins 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyjenkins 0.1.2
File Size Uploaded Provenance Actions
pyjenkins-0.1.2.tar.gz 6.2 kB Without provenance Details for pyjenkins-0.1.2.tar.gz

Release files / pyjenkins-0.1.2.tar.gz

Download URL pyjenkins-0.1.2.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e0580ca4a7ba35ab3417434a666ce0550f2ade8b423c8989e3927b883bc9755c
BLAKE2b-256 checksum
How to use checksums
390984736f574d6335e86c9c309320967a522ead34a7de893fde139cc8fae04e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyjenkins 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page