The Jenkins command line interface can install plugins and restart the Jenkins server.
Refer to https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI Mark Waite >________________________________ > From: Christopher Carlson <[email protected]> >To: [email protected] >Sent: Monday, August 19, 2013 11:31 AM >Subject: How to download plugins from Linux shell > > > >Is it possible to download plugins using a bash shell script? > > >Our company would like to be able to automate setting up a build machine, and >we want to limit the amount of steps required. They want something like: > 1. Install Jenkins > 2. svn co .../stable/jenkins > 3. ./InstallPluginsThis way, the only things maintained in subversion > are the jobs, scripts and anything that can't be downloaded from the Internet. > > >Thanks for any assistance you can provide. > > -- >You received this message because you are subscribed to the Google Groups >"Jenkins Users" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
