jenkins-plugin-generator-lib
Jenkins global groovy library which generates a Jenkins plugins.txt that can be used in a container image build.
What does it do?
Generates a plugins.txt with fixed versions
How does it do it?
- You provide a plugins.txt.template which names what plugins you want.
- If no version is included, the latest is used.
- If a version is included, then it is regarded as 'pinned' and that version is used. A- ll plugins and their dependencies will be included in the final plugins.txt
Pinning versions which are very old (i.e.: 6 months+) may cause problems due to other plugins requiring a newer version.
How do I use it?
See: