My command line has a typo.  The command should be:

java -jar jenkins-cli.jar http://127.0.0.1:8080/ install-plugin Claim CppCheck 
Git Findbugs HGCA HTMLPublisher 


You can see the list of commands available through the command line with

java -jar jenkins-cli.jar http://127.0.0.1:8080/ help

Mark Waite



>________________________________
> From: Mark Waite <[email protected]>
>To: "[email protected]" <[email protected]> 
>Sent: Monday, September 3, 2012 12:15 PM
>Subject: Re: Installing Jenkins plugins via API?
> 
>
>I use the command line interface with the command "install-plugins" followed 
>by the name of the plugin.
>
>
>java -jar jenkins-cli.jar http://127.0.0.1:8080/ install-plugins Claim 
>CppCheck Git Findbugs HGCA HTMLPublisher
>
>
>etc.
>
>
>Is that what you're seeking?
>
>
>Mark Waite
>
>
>
>>________________________________
>> From: dduvnjak <[email protected]>
>>To: [email protected] 
>>Sent: Monday, September 3, 2012 5:50 AM
>>Subject: Installing Jenkins plugins via API?
>> 
>>
>>Is there a Jenkins API call which enables remote plugin installation?
>>The documentation implies that possibility, but I can't seem to find it 
>>anywhere. I'm trying to automatically install several plugins on newly spun 
>>up Jenkins instances.
>>
>>
>
>

Reply via email to