Skip to main content

Build Status

中文说明

JenkinsClient

A powerful cross-platform Jenkins command line client which supports multiple instances of Jenkins.

Features

  • Get global info
    • get Jenkins server info
    • get whoami info
    • get plugins info
    • get nodes info
    • get jobs info
    • get queues info
  • Operating Jenkins objects
    • Plugin
      • list, search, install, uninstall plugin, and many more operations
    • Node
      • list, get node info and many more operations
    • Executor
      • get the number of node's executors, and many more operations
    • Job
      • list, build, copy, create, delete, disable, enable, rename job, and many more operations
    • Queue
      • list and cancel queue item
    • Build
      • get env_vars, information, log and test report of build

Install

You can use pip to install jenkinsclient on PyPI, just execute following command:

pip3 install jenkinsclient

or manually download the source code and use setuptools:

python setup.py install

Upgrade

pip3 install -U jenkinsclient

Releases

https://pypi.org/project/jenkinsclient/

Usage

After install jenkinsclient, you can use command jenkins or jks to perform many operations on Jenkins server.

QUICK START

  1. Use jenkins config generate to config jenkins servers.

    This command will generate a config file, you can modify it by yourself.

  2. Do what you want.

try jenkins jobs to see all jobs on your jenkins server.

try jenkins plugins to see all plugins on your jenkins server.

Tips: in all commands, you can replace jenkins with jks to simplify input.

Help information

Type jenkins to show jenkinsclient help information, or jenkins GROUP to view group command help information, such as jenkins config, jenkins job.like this:

NAME
    jenkins - A powerful cross-platform Jenkins command line client

SYNOPSIS
    jenkins GROUP | COMMAND

DESCRIPTION
    A powerful cross-platform Jenkins command line client

GROUPS
    GROUP is one of the following:

     build
       Manage builds

     config
       Configure Jenkins server information

     cred
       Manage Jenkins credentials

     executor
       Manage Jenkins executors

     job
       Manage Jenkins jobs

     node
       Manage Jenkins nodes

     plugin
       Manage Jenkins plugins

     queue
       Manage Jenkins queue

COMMANDS
    COMMAND is one of the following:

     app
       app mode, operating jenkins in a window

     creds
       List Credentials

     jobs
       List jobs

     nodes
       List nodes

     plugins
       List plugins

     queues
       List queues

     version
       Display Jenkins server version

     whoami
       Display who am i

Release files for jenkinsclient 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jenkinsclient 2.0
File Size Uploaded
jenkinsclient-2.0.tar.gz 12.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jenkinsclient 2.0
File Interpreter ABI Platform
jenkinsclient-2.0-py2-none-any.whl Python 2 none any Details

Total release size: 33.6 kB

Release files / jenkinsclient-2.0.tar.gz

Download URL jenkinsclient-2.0.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
419de6f75bb9fa4148524281d6322971a4c803d8bbd8a6fb50e35345894e5746
BLAKE2b-256 checksum
How to use checksums
a4653e721b71a73c869743a755a334bf87cfef2549d052b466c0363b74fcaed5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

Release files / jenkinsclient-2.0-py2-none-any.whl

Download URL jenkinsclient-2.0-py2-none-any.whl
Size 20.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
c647e48cd28f624e9c57c96446f9ea5f76aa17cab5f22da9b596ef0b758569a3
BLAKE2b-256 checksum
How to use checksums
c14e5f5d2762573060047d97d705db3efebbe2112db574ba7c021d34a332e302
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files

1.5.5

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.6.0

2 release files

0.5.0

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page