the install-plugin command to the command line interface works well for me.




>________________________________
> From: James Yin <[email protected]>
>To: [email protected] 
>Cc: James Yin <[email protected]> 
>Sent: Thursday, November 29, 2012 7:29 AM
>Subject: Re: is a way to install jenkins plugin by API?
> 
>
>Hi nicolas,
>thanks, I will try InstallPluginCommand.
>
>在 2012年11月29日星期四UTC+8下午9时45分48秒,nicolas de loof写道:
>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
>>>[2] 
>>>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/di splay/JENKINS/Plugins#Plugins- Byhand
>>>
>>>-- 
>>>oliver
>>>
>>
>
>

Reply via email to