jenkins-init-scripts icon indicating copy to clipboard operation
jenkins-init-scripts copied to clipboard

Install plugins during init

Open visualphoenix opened this issue 9 years ago • 2 comments

I don't yet know of an easy way to install plugins during initial load time from groovy. If there was a way to do it pretty easily we could enhance the setup functions to force the plugins and their dependencies to be installed prior to initializing them.

visualphoenix avatar Sep 28 '16 20:09 visualphoenix

I've made a PR that install plugin but after Jenkins has started.

victorsalaun avatar Oct 15 '18 20:10 victorsalaun

I suggest you to have a look at https://github.com/jenkinsci/configuration-as-code-plugin It's a plugin that configure Jenkins based on a YAML file (instead of groovy files)

victorsalaun avatar Oct 15 '18 20:10 victorsalaun