Skip to content

About

Check Jenkins plugin versions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins Plugin Version Finder

Small Python CLI that returns the newest Jenkins plugin release compatible with a specific Jenkins core version.

It uses the official Jenkins plugin catalog:

  • https://updates.jenkins.io/current/plugin-versions.json

Requirements

  • Python 3.9+

Usage

python3 app.py <jenkins-version> <plugin-id> [<plugin-id> ...]

Example:

python3 app.py 2.462.3 support-core

JSON output:

python3 app.py 2.462.3 git --json

Refresh the local cache:

python3 app.py 2.462.3 git --refresh

Look up several plugins in one command:

python3 app.py 2.462.3 git workflow-job support-core

How it works

The Jenkins update center exposes a plugin-versions.json catalog with release history for every plugin. This app:

  1. Downloads that catalog and caches it locally in .cache/plugin-versions.json.
  2. Reads all releases for each requested plugin.
  3. Filters releases whose requiredCore is greater than the Jenkins version you entered.
  4. Returns the newest remaining release for each plugin by releaseTimestamp.

Tests

python3 -m unittest discover -s tests

About

Check Jenkins plugin versions

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages