Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Jenkins client

Project Description

The ultimate Jenkins Client ;)

Install

To install jenkins-client on your system, run the following command:

sudo pip install .

Setup config

jenkins-client is using configuartion file to connect the server.

It can be setup in one of the following paths:

/etc/jenkins-client/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:

jenkins-client job list

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

jenkins-client job list coreci

Print the number of jobs on Jenkins server:

jenkins-client job count

Delete job:

jenkins-client job delete <job_name>

Build parameterized job:

jenkins-client job build <job_name> -p ‘{“GERRIT_REFSPEC”: “my_refspec”, “GERRIT_BRANCH”: “my_branch”, “Cleanup_provisioned_resources”:”true”}’

Copy job:

jenkins-client job copy my_current_job my_new_awesome_job

Disable job:

jenkins-client job disable my_job

Enable job:

jenkins-client job enable his_job

Print information on last build of specific job:

jenkins-client job last_build super-mario-job

### View examples

List all views:

jenkins-client view list

List views that contain the string ‘hello’:

jenkins-client view list hello

Delete view:

jenkins-client view delete view90

List all the jobs under specific view:

jenkins-client view jobs view1

Create new view:

jenkins-client view create new_view

### Node examples

List all nodes:

jenkins-client node list

Delete node:

jenkins-client node delete <node_name>

License

Apache

Author Information

Arie Bregman - abregman@redhat.com

Release History

Release History

This version
History Node

0.0.1.dev24

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
jenkins-client-0.0.1.dev24.tar.gz (11.2 kB) Copy SHA256 Checksum SHA256 Source Jun 25, 2016

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