Hi, As a side note, if you're building out demo machines with a precanned config, there are some really helpful scripts in the Jenkins docker image repo. Even if you're not running docker, the scripts and techniques should work well on demo VMs.
To preinstall a list of plugins from the update center, listed in a text file: https://github.com/jenkinsci/docker/blob/master/plugins.sh To land a precanned jenkins home (which can be preloaded with your plugin HPI) and use it to start up: https://github.com/jenkinsci/docker/blob/master/jenkins.sh A couple examples of how these scripts were used are here: https://github.com/jenkinsci/workflow-plugin/tree/master/demo https://github.com/svanoort/gerrit-workflow-demo -- Sam On Wednesday, December 23, 2015 at 2:39:41 PM UTC-5, Gavin Mogan wrote: > > Hey everyone > > I can't decide if this belongs on the user list or the dev list but trying > here first. > > Has anyone come up with a way (maven or jenkins) to automatically deploy a > plugin to a jenkins instance? I want to setup a nice demo server that > always has the latest version of our plugin, but don't want to go through > the steps of having to manually goto the plugins page, then upload, then > wait, then restart, etc. > > I can probably script something with the cli tool, but don't want to > duplicate work. > > Gavin > -- 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/250ec724-a21b-4962-838f-fb35a0218a56%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
