Skip to content

Releases

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 07:49
0c5c7ad

jenkins-lint 2.0 is the project formerly called jenkinsfilelint, rewritten in Rust as a fast offline linter.

pip install jenkins-lint
jenkins-lint .
  • Checks Groovy syntax, Declarative Pipeline structure and security in milliseconds, with no Jenkins, Docker or JVM.
  • Fixes what it can with --fix and --unsafe-fixes, as in ruff.
  • --remote also validates the files with your Jenkins.
  • Outputs text, JSON, SARIF or GitHub annotations.

Breaking: no compatibility with 1.x. See Migrating to 2.0.

Pull requests

  • Rename the project to jenkins-lint (#88)
  • Check offline by default, add --remote, remove --local (#89)
  • jenkins-lint 2.0: one Rust binary, one check, fixes as in ruff (#92)
  • --output-format, and GitHub Actions annotations (#94)

Full Changelog: v1.7.2...v2.0.0

v1.7.2

Choose a tag to compare

@github-actions github-actions released this 26 Nov 09:26
5e99402

What's Changed

🚀 Features

📝 Documentation

Full Changelog: v1.7.1...v1.7.2

v1.7.1

Choose a tag to compare

@github-actions github-actions released this 20 Nov 11:11
89bc999

What's Changed

🚀 Features

  • feat: turn off an audit rule for every file with --ignore by @shenxianpeng in #82

🐛 Bug fixes

  • fix: run the audit and offline hooks once for all files by @shenxianpeng in #80

Full Changelog: v1.7.0...v1.7.1

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 09:32
4b1c583

What's Changed

🚀 Features

🐛 Bug fixes

📝 Documentation

👻 Maintenance

  • chore: show what an engine change changes on public Jenkinsfiles by @shenxianpeng in #72

Full Changelog: v1.6.1...v1.7.0

v1.6.1

Choose a tag to compare

@github-actions github-actions released this 18 Nov 22:33
115ee92

What's Changed

🐛 Bug fixes

  • fix: report non-UTF-8 Jenkinsfiles instead of crashing; explain a leading BOM by @shenxianpeng in #63

📝 Documentation

Full Changelog: v1.6.0...v1.6.1

v1.6.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:51
c8ba43b

Highlights

Offline checking. jenkinsfilelint no longer needs a Jenkins server. Without one configured, it checks Groovy syntax and Declarative Pipeline structure offline, in milliseconds, with no Docker or JVM, instead of failing with "Jenkins URL not provided". Use --offline or the new jenkinsfilelint-offline pre-commit hook to check offline even when JENKINS_URL is set.

Offline checking can't see your plugins, so step names and parameters aren't checked. Remote mode and --local work as before.

Upgrade notes

  • pip install jenkinsfilelint now also installs jenkinsfilelint-engine, a prebuilt wheel for Linux, macOS and Windows. Other platforms install as before, without offline checking.

What's Changed

  • feat: add --offline mode that lints Jenkinsfiles without Jenkins, Docker or a JVM by @shenxianpeng in #59
  • chore(deps): bump the github-action group with 5 updates by @dependabot[bot] in #62

Full Changelog: v1.5.3...v1.6.0

v1.5.3

Choose a tag to compare

@github-actions github-actions released this 26 Oct 14:30
59017b0

What's Changed

🚀 Features

  • perf: validate files in parallel over reused connections by @shenxianpeng in #61

Full Changelog: v1.5.2...v1.5.3

v1.5.2

Choose a tag to compare

@github-actions github-actions released this 19 Oct 20:22
1fb4347

What's Changed

🐛 Bug fixes

  • fix: give non-Declarative files one verdict instead of matching echoed content by @shenxianpeng in #60

📝 Documentation

  • docs: regenerate demo.gif with a taller, more readable layout by @shenxianpeng in #55

👻 Maintenance

  • chore: repository health check (coverage, checkout credentials) by @shenxianpeng in #58

📦 Dependencies

  • chore(deps): bump the github-action group with 4 updates by @dependabot[bot] in #57
  • chore(deps): bump docker/setup-buildx-action from 4.2.0 to 4.3.0 in the github-action group by @dependabot[bot] in #56
  • chore(deps): bump the github-action group with 6 updates by @dependabot[bot] in #54

Full Changelog: v1.5.1...v1.5.2

v1.5.1

Choose a tag to compare

@github-actions github-actions released this 28 Jul 08:46
bde498c

What's Changed

🚀 Features

  • feat: add common plugins to docker image and document custom image workflow by @shenxianpeng in #53
  • feat: add multi-arch (arm64) image builds for jenkinsfilelint-server by @arulrajnet in #52

👻 Maintenance

  • chore: add OCI index annotations for multi-arch image description on ghcr.io by @shenxianpeng in #50
  • chore: set org.opencontainers.image.description label in Docker metadata by @shenxianpeng in #49

Full Changelog: v1.5.0...v1.5.1

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 11 Jul 22:36
1bc30cf

What's Changed

🚀 Features

  • feat: add local Docker-based Jenkins server for Jenkinsfile validation by @shenxianpeng in #38

🐛 Bug fixes

  • fix: prevent container name conflict when crashed container lingers by @shenxianpeng in #40
  • fix: add explicit docker pull before run to prevent false timeout on first use by @shenxianpeng in #39

🚦 Tests

  • test: add Docker integration tests for end-to-end validation by @shenxianpeng in #41

👻 Maintenance

  • chore: add version-resolver entries and PR auto-labeler by @shenxianpeng in #48
  • chore: use RESOLVED_VERSION so release-drafter respects PR labels by @shenxianpeng in #46
  • chore: simplify README to focus on pre-commit setup by @shenxianpeng in #44
  • chore: add hadolint pre-commit hook and update ruff version by @shenxianpeng in #43

📦 Dependencies

Full Changelog: 1.4.1...v1.5.0