This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Command-line Interface for Jenkins

Project Description

The ultimate Jenkins ClI ;)

Install

A virtual environment is recommended for development. To install jcli on your system, run the following commands:

virtualenv .venv source .venv/bin/activate pip install -r requirements.txt -e .

Setup config

jcli is using configuartion file to connect the server.

It can be setup in one of the following paths:

/etc/jcli/config.ini pwd/config.ini

or it can passed as an argument.

Minimal configuartion is:

[jenkins] user=<jenkins_user> password=<api_token> url=<jenkins_url>

Examples

### Job examples

Print list of all the jobs:

jcli job list

Print jobs which contain the string ‘coreci’ in their names:

jcli job list coreci

Print the number of jobs on Jenkins server:

jcli job count

Full list of job commands can be found [here](https://github.com/bregman-arie/jcli/tree/master/doc/job.md)

### View examples

List all views:

jcli view list

Delete view:

jcli view delete view90

Full list of view commands can be found [here](https://github.com/bregman-arie/jcli/tree/master/doc/view.md)

### Node examples

List all nodes:

jcli node list

Delete node:

jcli node delete <node_name>

### Plugin examples

List all installed plugins:

jcli plugin list

List infromation on specific plugin:

jcli plugin info my_plugin

Full list of plugin commands can be found [here](https://github.com/bregman-arie/jcli/tree/master/doc/plugin.md)

License

Apache

Author Information

Arie Bregman - abregman@redhat.com

Release History

Release History

This version
History Node

0.0.2.dev36

History Node

0.0.2.dev29

History Node

0.0.2.dev25

History Node

0.0.1.dev24

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting