plugin-installation-manager-tool
plugin-installation-manager-tool copied to clipboard
Add support for Jenkins BOM as a source of plugin versions when using YAML or TXT plugin lists
Jenkins Plugin Bill of Materials provides a list of plugins which are cross-verified to some extent: https://github.com/jenkinsci/bom . When using pom.xml as a plugin list input, it is possible to use BOM via Maven features. But it is not possible for a YAML configuration. It would be awesome to support it so that users can delegate version management of some components they bundle
Example of a cocnfig file:
versionSources:
- bom:
baseline: 2.277
version: 27
plugins:
- artifactId: git
- artifactId: job-import-plugin
source:
version: 2.1
- artifactId: docker
- artifactId: cloudbees-bitbucket-branch-source
- artifactId: script-security
- artifactId: workflow-step-api
Hi @oleg-nenashev, can I work on this issue? Regards
Yes, go for it
Beware that jenkinsci/bom
is currently used as a source of minimum dependency versions (used during compilation and testing of downstream plugins), as well as a way of cross-testing recent changes in various components. To be appropriate as a source of actual runtime versions for users, we would need to ensure that pinned versions for LTS lines (bom-2.nnn.x
) were kept up to date with security fixes and other backports: https://github.com/jenkinsci/bom/issues/1019