Python API and CLI for Jenkins
Python API and CLI for Jenkins in one package :)
A virtual environment is recommended for development. To install the latest version of pykins, run the following commands:
virtualenv .venv && source .venv/bin/activate pip install .
To install from PyPi (not necessarily latest version!):
pip install pykins
Python API Examples
`python >>> import pykins >>> jenkins = pykins.Jenkins('http://my_jenkins') >>> print(jenkins.get_jobs()) `
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.