Skip to main content
Help us improve Python packaging – donate today!

Python wrapper for the Jenkins CI REST API

Project Description

Extensible, user and developer friendly Python interface to the Jenkins CI tool, wrapping the features exposed by the standard REST API using Pythonic objects and functions.

With an intuitive and well thought out interface, PyJen offers anyone familiar with the Python programming language an easy way to manage Jenkins dashboards from a simple command prompt. All core primitives of Jenkins, including views, jobs and builds are easily accessible and can be accessed, analyzed and even modified or created via simple Python commands.

Example: Displaying a list of all jobs on the default view

from pyjen import *
jk = jenkins("http://localhost:8080")
vw = jk.get_default_view()
jobs = vw.get_jobs()
for j in jobs:
    print j.get_name()

Example: Disable all jobs in a view named “My View”

from pyjen import *
jk = jenkins("http://localhost:8080")
vw = jk.find_view("My View")
vw.disable_all_jobs()

Example: Get all upstream dependencies of a job named “JobA”

from pyjen import *
j = job("http://localhost:8080/job/JobA")
upstream = j.get_upstream_jobs(True)
for u in upstream:
    print u.get_name()

Release history Release notifications

History Node

0.0.127.dev0

History Node

0.0.125.dev0

History Node

0.0.124.dev0

History Node

0.0.123.dev0

History Node

0.0.122.dev0

History Node

0.0.121.dev0

History Node

0.0.119.dev0

History Node

0.0.118.dev0

History Node

0.0.110.dev0

History Node

0.0.109.dev0

History Node

0.0.13.dev0

History Node

0.0.11.dev0

History Node

0.0.10dev

History Node

0.0.9dev

History Node

0.0.8dev

History Node

0.0.7dev

History Node

0.0.6dev

History Node

0.0.5dev

History Node

0.0.4dev

History Node

0.0.3dev

History Node

0.0.2dev

This version
History Node

0.0.1dev

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyjen-0.0.1dev-py2.py3-none-any.whl (23.3 kB) Copy SHA256 hash SHA256 Wheel 3.3 Apr 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page