Skip to main content

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

zenkins-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zenkins-0.1.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

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

Hashes for zenkins-0.1.0.tar.gz
Algorithm Hash digest
SHA256 faa63ed4c974231af64fba813ff8a96c82373d43dca001bbd62d60ff04befb28
MD5 7c9110bc3c86b28ca4d9120bcb5b2f8b
BLAKE2b-256 e215989f6e92fc17f5b3628ca327358bc41ebf036327eb2d7eba967c9e2160d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for zenkins-0.1.0.tar.gz:

Publisher: publish.yml on vivainio/zenkins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for zenkins-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2c56e958c9fa11cc6158880a662c4953bfddbb20da28610c5ace1de66bba7d6
MD5 6b3602ad54da1d9af4c6470514150be4
BLAKE2b-256 48985a56ed186c232a95a7b048239a59e28c06cc264f84ac7ab7c5cfa4629819

See more details on using hashes here.

Provenance

The following attestation bundles were made for zenkins-0.1.0-py3-none-any.whl:

Publisher: publish.yml on vivainio/zenkins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page