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 restart server.




*Thanks and Regards,Rajendra Prasad Reddy Penumalli*

On Thu, 20 Dec 2018 at 11:25, RAJENDRA PRASAD <[email protected]>
wrote:

> 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 version, Jenkins automatically picks
> latest plugin available for that jerkins  version
>
> Let me know if any other help is required
>
> Don't forget to send me your groovy script to install default users and
> LDAP authentication script.
>
>
>
>
>
> *Thanks and Regards,Rajendra Prasad Reddy PenumalliMobile:9008566233*
>
>
> On Wed, 19 Dec 2018 at 02:26, Phillip Dudley <[email protected]>
> wrote:
>
>> 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, [email protected]
>> wrote:
>>>
>>> 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 <[email protected]>
>>>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/c0a9cb82-a524-40f1-9f1f-c95fc43c1dfa%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/c0a9cb82-a524-40f1-9f1f-c95fc43c1dfa%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02SgxaQAiBb6_X0UnjdJbFNSWQR2P7QdL8H%3DqS4Mpk8_2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to