CLI tool for Jenkins. List jobs, check builds, view logs, trigger builds.
Project description
zenkins
CLI tool for Jenkins. List jobs, check builds, view logs, trigger builds.
Install
pip install zenkins
Setup
Run zenkins init to configure your Jenkins connection. This creates ~/.config/jenkins/config with your Jenkins URL and credentials.
Usage
zenkins jobs # List all jobs with status
zenkins status <job> # Show last build info
zenkins builds <job> # List recent builds
zenkins builds <job> -n 5 # List last 5 builds
zenkins log <job> # Show console output (last build)
zenkins log <job> 42 # Show console output for build #42
zenkins queue # Show build queue
zenkins build <job> # Trigger a build
Library usage
import zenkins
s = zenkins.client()
resp = s.get("http://jenkins.example.com/api/json")
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zenkins-0.1.0.tar.gz.
File metadata
- Download URL: zenkins-0.1.0.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faa63ed4c974231af64fba813ff8a96c82373d43dca001bbd62d60ff04befb28
|
|
| MD5 |
7c9110bc3c86b28ca4d9120bcb5b2f8b
|
|
| BLAKE2b-256 |
e215989f6e92fc17f5b3628ca327358bc41ebf036327eb2d7eba967c9e2160d1
|
Provenance
The following attestation bundles were made for zenkins-0.1.0.tar.gz:
Publisher:
publish.yml on vivainio/zenkins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zenkins-0.1.0.tar.gz -
Subject digest:
faa63ed4c974231af64fba813ff8a96c82373d43dca001bbd62d60ff04befb28 - Sigstore transparency entry: 930641009
- Sigstore integration time:
-
Permalink:
vivainio/zenkins@fafa2b4265d8e6109e086b68d31b77287dba6228 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/vivainio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fafa2b4265d8e6109e086b68d31b77287dba6228 -
Trigger Event:
release
-
Statement type:
File details
Details for the file zenkins-0.1.0-py3-none-any.whl.
File metadata
- Download URL: zenkins-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2c56e958c9fa11cc6158880a662c4953bfddbb20da28610c5ace1de66bba7d6
|
|
| MD5 |
6b3602ad54da1d9af4c6470514150be4
|
|
| BLAKE2b-256 |
48985a56ed186c232a95a7b048239a59e28c06cc264f84ac7ab7c5cfa4629819
|
Provenance
The following attestation bundles were made for zenkins-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on vivainio/zenkins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
zenkins-0.1.0-py3-none-any.whl -
Subject digest:
a2c56e958c9fa11cc6158880a662c4953bfddbb20da28610c5ace1de66bba7d6 - Sigstore transparency entry: 930641085
- Sigstore integration time:
-
Permalink:
vivainio/zenkins@fafa2b4265d8e6109e086b68d31b77287dba6228 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/vivainio
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fafa2b4265d8e6109e086b68d31b77287dba6228 -
Trigger Event:
release
-
Statement type: