custom-war-packager
custom-war-packager copied to clipboard
Add support for Jenkins Plugin BOM as a source of plugin versions when using YAML plugin list
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
CC @alxsap @LinuxSuRen @sladyn98 who might have some feedback about usefullness of such option
I know CWP already supported using a pom.xml as the plugin list. But I didn't use it too much. So I believe that adding support for Jenkins BOM as a source of plugin versions is great. It's always kill me when handling the version conflicts.
It's always kill me when handling the version conflicts.
This is exactly why I submitted it. Trying to update Jenkinsfile Runner demos and the build flow 😢
We are using a simple list of plugins we need and a custom script generates the list of the latest plugins and their transitive dependencies. The script automatically updates the packager-config.yml.
Therefore currently we don't have this requirement. But there have been reasons, why we implemented this script - we had exactly those issues. 😉
I consider doing a new Maven-based packaging flow which would allow to easily consume BOMs and manage dependencies. https://github.com/jenkinsci/jenkinsfile-runner/issues/344