-
Bug
-
Resolution: Not A Defect
-
Major
The jenkins update center is serving the wrong update-center.json file for pinned versions. As a result automation that depends on this file to determine the latest compatible version of a plugin for a particular jenkins version (such as the plugin manager CLI) may pull in a plugin version that is too high and requires a newer Jenkins core version.
As far as I can tell there is no place to obtain the actual update-center.json file for 2.277.3 once a newer LTS is released.
Expected:
- Hit https://updates.jenkins.io/update-center.json?version=2.277.3
- Get redirected to https://updates.jenkins.io/dynamic-stable-2.277.3/update-center.json
- Json should only contain plugins compatible with 2.277.3 (example: configuration-as-code:1.50)
Actual:
- Hit https://updates.jenkins.io/update-center.json?version=2.277.3
- Get redirected to https://updates.jenkins.io/dynamic-stable-2.277.3/update-center.json
- Json may contain plugins that are not compatible with 2.277.3 (example: configuration-as-code:1.51)