Jenkinsfile Lint
Catch Jenkinsfile syntax errors before they break your CI.
jenkinsfilelint checks your Declarative Pipeline syntax offline, with no
Jenkins at all, or with your Jenkins's own validator
(/pipeline-model-converter/validate)
when you configure one. It's primarily a pre-commit
hook, but also works as a standalone CLI tool.
📖 Read the official blog post for the story behind this tool.
Quick Start
pip install jenkinsfilelint
jenkinsfilelint Jenkinsfile
jenkinsfilelint . # every Jenkinsfile in this directory
jenkinsfilelint --audit . # and look for security problems
That works as is: with no Jenkins server configured, files are checked offline. Then add the pre-commit hook (see below) or keep using the CLI.
Pre-commit Hook
Add the hook to your .pre-commit-config.yaml and install. Once configured,
every commit that touches a Jenkinsfile is automatically validated.
# .pre-commit-config.yaml
repos:
- repo: https://github.com/jenkinsci/jenkinsfilelint
rev: # use the latest version
hooks:
- id: jenkinsfilelint-offline
pip install pre-commit
pre-commit install
Documentation
Everything else is on the documentation site: install, usage, pre-commit, configuration, security, how it works and the security audit.
Contributing
See CONTRIBUTING.md.
License
MIT — see LICENSE.
Metadata
Release files for jenkinsfilelint 1.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jenkinsfilelint-1.7.2.tar.gz | 600.6 kB | With provenance | Details for jenkinsfilelint-1.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jenkinsfilelint-1.7.2-py3-none-any.whl | Python 3 | none | any | Details for jenkinsfilelint-1.7.2-py3-none-any.whl |
Total release size: 621.4 kB
Release files / jenkinsfilelint-1.7.2.tar.gz
| Download URL | jenkinsfilelint-1.7.2.tar.gz |
|---|---|
| Size | 600.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f00fba163d03fdecf8365b6e5182ba8b3d9582bcfd49ccbb3b6b35f4f56211b2
|
|
BLAKE2b-256 checksum How to use checksums |
09919f1a1c0dd9ac283c36da7cb10bdae3fa3ebc9a5f5b1bec2f24affa3a2c71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / jenkinsfilelint-1.7.2-py3-none-any.whl
| Download URL | jenkinsfilelint-1.7.2-py3-none-any.whl |
|---|---|
| Size | 20.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d057ee0229a82818c9ae629401eac69d15e1d2fb5d0fe68434e5302664da507
|
|
BLAKE2b-256 checksum How to use checksums |
8affd49845a7aa34cbaa398bba8356222ba8b50fe8e8bcf6425ba71c4c0e9b2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for jenkinsfilelint 1.7.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for jenkinsfilelint-1.7.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.