see CLI command https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/cli/InstallPluginCommand.java
2012/11/29 oliver gondža <[email protected]> > On Thu, 29 Nov 2012 14:08:50 +0100, James Yin <[email protected]> wrote: > > we are trying to find a way to automatically install plugins to remote >> jenkins server >> >> are there any solutions by maven/ant or Jenkins api? >> > > Hi, > > as far as can say Jenkins Remote API wont do [1][2]. Both threads suggest > a workaround but I have not tried any of that. > > How about copying the plugins to the $JENKINS_HOME/plugins directory[3] > using scp, nfs or something? > > [1] http://jenkins.361315.n4.**nabble.com/How-do-I-install-a-** > plugin-in-Jenkins-using-**Remote-access-API-td4483911.**html<http://jenkins.361315.n4.nabble.com/How-do-I-install-a-plugin-in-Jenkins-using-Remote-access-API-td4483911.html> > [2] http://stackoverflow.com/**questions/9765728/how-to-** > install-plugins-in-jenkins-**with-the-help-of-jenkins-**remote-access-api<http://stackoverflow.com/questions/9765728/how-to-install-plugins-in-jenkins-with-the-help-of-jenkins-remote-access-api> > [3] > https://wiki.jenkins-ci.org/**display/JENKINS/Plugins#**Plugins-Byhand<https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-Byhand> > > -- > oliver >
