An open API service indexing awesome lists of open source software.

https://github.com/bregman-arie/pykins

Yet another Python API and CLI for Jenkins
https://github.com/bregman-arie/pykins

Last synced: 5 months ago
JSON representation

Yet another Python API and CLI for Jenkins

Awesome Lists containing this project

README

          

## Pykins

Yet another CLI for Jenkins.
Pykins provides you with:

* The ability to analyze builds

### Installation

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 .

If you prefer, you can use `pipenv` for installing latest vesion:

pipenv shell

To install from PyPi (not necessarily latest version!):

pip install pykins

#### Set up configuration

Create the file `/etc/pykins/pykins.yaml` with the following content:

```
jenkins:
url: https://
user:
password:
```

### CLI Usage

#### Job Operations

* List jobs: `pykins job list`
* List jobs with substring 'neutron': `pykins job list neutron`
* Show job inforamtion(description, builds): `pykins job show `

### API Usage

Work in progress

### How to contribute?
Using pull requests