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

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.9.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

jenkinsapi-0.1.9-py2.7.egg (57.4 kB view hashes)

Uploaded Source

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