Skip to main content

A Python API for accessing resources on a Jenkins continuous-integration server.

Project description

About this library

Jenkins is the market leading continuous integration system, originally created by Kohsuke Kawaguchi. This API makes Jenkins even easier to use by providing an easy to use conventional python interface.

Jenkins (and It’s predecessor Hudson) are useful projects for automating common development tasks (e.g. unit-testing, production batches) - but they are somewhat Java-centric. Thankfully the designers have provided an excellent and complete REST interface. This library wraps up that interface as more conventional python objects in order to make most Jenkins oriented tasks simpler.

This library can help you:

  • Query the test-results of a completed build

  • Get a objects representing the latest builds of a job

  • Search for artefacts by simple criteria

  • Block until jobs are complete

  • Install artefacts to custom-specified directory structures

  • username/password auth support for jenkins instances with auth turned on

  • Ability to search for builds by subversion revision

  • Ability to add/remove/query jenkins slaves

Installation

Egg-files for this project are hosted on PyPi. Most Python users should be able to use pip or distribute to automatically install this project.

Most users can do the following:

easy_install jenkinsapi

If you’d like to install in multi-version mode:

easy_install -m jenkinsapi

Project Authors

License

The MIT License (MIT): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

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

Source Distribution

jenkinsapi-0.1.11.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

jenkinsapi-0.1.11-py2.7.egg (61.2 kB view details)

Uploaded Source

File details

Details for the file jenkinsapi-0.1.11.tar.gz.

File metadata

  • Download URL: jenkinsapi-0.1.11.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for jenkinsapi-0.1.11.tar.gz
Algorithm Hash digest
SHA256 d6e017a1c934d81756bdb3088412b798fc26e57dadb7770718b08920070914f3
MD5 87a108d59f223401112c4922e0f2177f
BLAKE2b-256 3bfe5374605f75a0435ef4ceef9c22d6266943d079cc6f1cd99f5c97775f60b0

See more details on using hashes here.

File details

Details for the file jenkinsapi-0.1.11-py2.7.egg.

File metadata

File hashes

Hashes for jenkinsapi-0.1.11-py2.7.egg
Algorithm Hash digest
SHA256 c6d562f7136ef15abf2a1a00a5535ae6df8a6e74baa9bd70ccd633a431019021
MD5 3b49871aad7bd40de0f5c23645de8d65
BLAKE2b-256 8727ee3a3d9bcb6cce07e11677e5e1bb63d2861587de00ee37036f27fccb9032

See more details on using hashes here.

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