Re: Install specific version of plugins with Groovy script

2018-12-20 Thread RAJENDRA PRASAD
Hi Philip, I waiting for your mail with solutions for configuring matrix authentication Thanks Rajendra On Thu, 20 Dec, 2018, 11:33 RAJENDRA PRASAD One point ,Forgot to mention in my previous mail. > It just installs the plugins restart you need to do manually. > I tried thorough script it didn

Re: Install specific version of plugins with Groovy script

2018-12-19 Thread RAJENDRA PRASAD
One point ,Forgot to mention in my previous mail. It just installs the plugins restart you need to do manually. I tried thorough script it didn't work, Let me know if you have solution for that using groovy script. Since my Jenkins server is running on Linux server , i am using curl command to re

Re: Install specific version of plugins with Groovy script

2018-12-19 Thread RAJENDRA PRASAD
Yes Philip, Please find attachments for Install plugins groovy script and plugins list config file. I made it configurable You can add or remove the plugins config file. *Note*: You cannot install specific version plugins on Jenkins unless it is compatible. To avoid that problem i removed that ver

Re: Install specific version of plugins with Groovy script

2018-12-19 Thread Victor Martinez
Hi Phillip, I'm afraid I do not have an answer about it as I was in fact looking for an answer at that moment. Maybe I didn't ask correctly... I don't recall what I did instead. JCasC might solve this or sort of, although it's a beta feature: - https://github.com/jenkinsci/configuration-as-cod

Re: Install specific version of plugins with Groovy script

2018-12-18 Thread Phillip Dudley
Love these answers that aren't finished. Victor Martinez, do you have an example of what you're talking about? On Friday, April 20, 2018 at 4:43:24 PM UTC-5, geoffroy...@gmail.com wrote: > > Hello > just in case, could someone share a groovy sample script to achieve this? > I guess you have to

Re: Install specific version of plugins with Groovy script

2018-04-20 Thread geoffroy . jabouley
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 T

Re: Install specific version of plugins with Groovy script

2016-10-27 Thread Daniel Beck
> On 28.04.2016, at 11:38, Alexandre Chaussier > 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.getPlugi

Re: Install specific version of plugins with Groovy script

2016-10-27 Thread Victor Martinez
I'm also looking for a similar groovy command, any ideas? On Thursday, 28 April 2016 11:38:43 UTC+2, Alexandre Chaussier wrote: > > Hello, > > Today, I use groovy scripts with an Ansible role to manage my Jenkins > installation and configuration. > > All is OK if I want to use latest versions of