Thanks Ted, When you bundle plugins, what does it cause to happen when Jenkins runs? What is different?
-- Lee On Thu, Jan 2, 2020 at 10:27 PM Ted Xiao <[email protected]> wrote: > I use hpi:custom-war in CI/CD flow > https://jenkinsci.github.io/maven-hpi-plugin/custom-war-mojo.html > so I can control all the plugin dependencies in one place > > On Friday, January 3, 2020 at 6:46:44 AM UTC+8, Lee Meador wrote: >> >> I'm trying to figure out today's role for bundled plugins. Google is not >> as friendly as usual in finding information for me on this subject. I have >> found some things that are very confusing taken together. >> >> There is a tool for creating Jenkins war files with plugins bundled. It >> has a new version 2 that seems to imply there is still a purpose for >> bundling plugins. >> >> There is code in the Jenkins plugin manager cli tool that takes the >> versions of bundled plugins into account when deciding which version of the >> plugin is best to get. On the other hand, it won't download a plugin from >> the update center if its present bundled in the war. >> >> There is a maven plugin that has some secret purpose I cannot find >> described on the plugin pages. >> >> There is a page on the wiki with a big disclaimer that plugins are not >> pinned as of Jenkins 2. But it doesn't say whether the bundled plugins >> still do anything or not. >> >> A long time ago, maybe all the way back to Hudson days, plugins were >> bundled in the Jenkins war. Whenever Jenkins restarted, it would reload the >> bundled plugins to the plugins folder off $JENKINS_HOME except for any such >> plugins that had a corresponding pinned plugin in the plugins folder. The >> pinned version would be preserved and not reloaded from the war. >> >> Also from back in the day, I found an old email from Jesse Glick >> explaining a tiny bit about the version that first got the plugin UI and >> the version that first started pinning plugins. None of that seems relevant >> today, but I can't find any modern info. >> >> Release wars from the Jenkins OSS project don't seem to have bundles >> plugins. Release wars from Cloudbees do. >> >> Please do not feel I am asking for 10-12 years of history in a response. >> I'd be glad to have some links explaining how it works in 2020. Or perhaps >> just some clues that I could pass on to Google for searching out this stuff. >> >> Thank you >> >> -- Lee Meador >> Sent from gmail. My real email address is lee AT leemeador.com >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/2b0b45ef-c2ab-404b-a0ca-c600001a79c0%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-dev/2b0b45ef-c2ab-404b-a0ca-c600001a79c0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- Lee Meador Sent from gmail. My real email address is lee AT leemeador.com -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAA4vtDRTkvKD31bbgveck3mhe6Amsi_dyyVN8T3mzqv55HX4OQ%40mail.gmail.com.
