Hello
just in case, could someone share a groovy sample script to achieve this?
I guess you have to download .jpi file into /plugins folder (also handling 
dependencies...), then restart jenkins?
I had written that in shell (ugly but working), but still learning in 
Groovy!
Thanks in advance


On Thursday, 27 October 2016 11:28:19 UTC+2, Daniel Beck wrote:
>
>
> > On 28.04.2016, at 11:38, Alexandre Chaussier <alexandre...@gmail.com 
> <javascript:>> wrote: 
> > 
> > All is OK if I want to use latest versions of plugins, but I would like 
> to know if it is possible to request a specific version of the plugins when 
> I request installation from my groovy code ? 
> > 
> > I use the UpdateCenter.getPlugin() method but I don't see where I can 
> add this constraint. 
>
> Update center based installation can only install the one version defined 
> in the update site. 
>
> You need to go with URL based installation for specific versions. 
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/a531b912-f86b-4732-a1f4-f8124ea6819c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to