Python wrapper around the Jenkins JSON API
Project description
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.0 (2013-08-11)
First release on PyPI.
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
pyjenkins-0.1.0.tar.gz
(5.9 kB
view details)
File details
Details for the file pyjenkins-0.1.0.tar.gz
.
File metadata
- Download URL: pyjenkins-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6dbe7dd50e8802f2c227628b24061294aed6e2d1e5eca2bb18ad06a46188065 |
|
MD5 | b1fcdd87039590acdc7fa6b365cf32f5 |
|
BLAKE2b-256 | 397205c4f271613dc1423104b72f9f1c092ca42653da642933bece5e09321543 |