Re: Another way to uninstall a plugin?

2023-01-08 Thread 'Dirk Heinrichs' via Jenkins Users
Am Sonntag, dem 08.01.2023 um 16:31 -0800 schrieb 
zil...@gmail.com:

No it's not the WMI Windows Agents plugin since we're totally a Linux shop.

That plugin is installed regardless of OS.

Bye...

Dirk

--

Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Phone: +49 2226 15966 18
Email: dhein...@opentext.com
Website: 
www.recommind.de
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, 
Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. 
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht 
gestattet.

-- 
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/eb9cb9a1ff18920f6188d5a79d5dda46afa0781b.camel%40opentext.com.


Re: Groovy script to list deprecated/obsolete plugins in my system?

2023-01-08 Thread zil...@gmail.com
I found it 
here 
https://docs.cloudbees.com/docs/cloudbees-ci-kb/latest/client-and-managed-masters/ci-2-277-1-2-tables-to-divs

On Sunday, January 8, 2023 at 7:33:26 PM UTC-5 zil...@gmail.com wrote:

> While upgrading Jenkins I came across a script that I was able to run in 
> the Script Console  that show which of my currently installed plugins are 
> either obsolete or deprecated. Now I can't find it. Does anyone have one 
> handy?
>
> Thanks,
> Chris
>

-- 
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/60b96bdd-70a4-43e1-95ab-241381ffe1f4n%40googlegroups.com.


Re: Another way to uninstall a plugin?

2023-01-08 Thread zil...@gmail.com
Ok I'll try this. Just to be safe I'll just rename my $JENKINS_HOME/plugins 
directory and the restart the container

On Sunday, January 8, 2023 at 8:07:52 PM UTC-5 Mark Waite wrote:

> Removing plugins from Docker containers has some complications that are 
> specific to the way plugins are managed in Docker containers.  We have a 
> work in progress pull request that is developing the detailed description 
> of the various scenarios to remove plugins from a container.
>
> The technique that I've used has been to remove the contents of 
> ${JENKINS_HOME}/plugins as the last step in my Dockerfile version that is 
> removing a plugin so that on the next startup of that container, the 
> current set of plugins will be copied from the "${REF}" directory into the  
> ${JENKINS_HOME}/plugins directory.  I don't know if that's the best way, 
> but that's one way that has worked for me.
>
> On Sunday, January 8, 2023 at 5:31:34 PM UTC-7 zil...@gmail.com wrote:
>
>> No it's not the WMI Windows Agents plugin since we're totally a Linux 
>> shop.
>>
>> I'll try your suggestion of "hovering" the "Uninstall" button. Thanks
>>
>> On Tuesday, January 3, 2023 at 12:36:46 PM UTC-5 db...@cloudbees.com 
>> wrote:
>>
>>> On Tue, Jan 3, 2023 at 4:49 PM zil...@gmail.com  
>>> wrote:
>>>
 Thanks. It's a deprecated plugin. I'm trying to uninstall all the 
 indicated deprecated plugins, but they just keep coming back after a 
 restart. They are disabled though.

>>>
>>> Is it WMI Windows Agents Plugin?
>>>
>>> Plugins getting re-installed is expected behavior if they're a plugin 
>>> whose functionality was split ("detached") from Jenkins core in the 
>>> past, as is the case with that one. It's the only such plugin currently 
>>> deprecated as well.
>>>
>>> The only real solution is for all other plugins you have installed to 
>>> declare a core dependency of 1.547 or newer, so none of them cause the 
>>> detached plugin to be installed automatically again. Check the popup that 
>>> appears when hovering the "uninstall" button for candidates, or check the 
>>> URL /pluginManager/api/json?tree=plugins[shortName,requiredCoreVersion] in 
>>> Jenkins to learn which installed plugins have a ~9 year old core dependency 
>>> and should be modernized.
>>>
>>

-- 
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/22cc86a0-5409-4120-8d8a-40c2527aa972n%40googlegroups.com.


Re: Another way to uninstall a plugin?

2023-01-08 Thread Mark Waite
Removing plugins from Docker containers has some complications that are 
specific to the way plugins are managed in Docker containers.  We have a 
work in progress pull request that is developing the detailed description 
of the various scenarios to remove plugins from a container.

The technique that I've used has been to remove the contents of 
${JENKINS_HOME}/plugins as the last step in my Dockerfile version that is 
removing a plugin so that on the next startup of that container, the 
current set of plugins will be copied from the "${REF}" directory into the  
${JENKINS_HOME}/plugins directory.  I don't know if that's the best way, 
but that's one way that has worked for me.

On Sunday, January 8, 2023 at 5:31:34 PM UTC-7 zil...@gmail.com wrote:

> No it's not the WMI Windows Agents plugin since we're totally a Linux shop.
>
> I'll try your suggestion of "hovering" the "Uninstall" button. Thanks
>
> On Tuesday, January 3, 2023 at 12:36:46 PM UTC-5 db...@cloudbees.com 
> wrote:
>
>> On Tue, Jan 3, 2023 at 4:49 PM zil...@gmail.com  wrote:
>>
>>> Thanks. It's a deprecated plugin. I'm trying to uninstall all the 
>>> indicated deprecated plugins, but they just keep coming back after a 
>>> restart. They are disabled though.
>>>
>>
>> Is it WMI Windows Agents Plugin?
>>
>> Plugins getting re-installed is expected behavior if they're a plugin 
>> whose functionality was split ("detached") from Jenkins core in the 
>> past, as is the case with that one. It's the only such plugin currently 
>> deprecated as well.
>>
>> The only real solution is for all other plugins you have installed to 
>> declare a core dependency of 1.547 or newer, so none of them cause the 
>> detached plugin to be installed automatically again. Check the popup that 
>> appears when hovering the "uninstall" button for candidates, or check the 
>> URL /pluginManager/api/json?tree=plugins[shortName,requiredCoreVersion] in 
>> Jenkins to learn which installed plugins have a ~9 year old core dependency 
>> and should be modernized.
>>
>

-- 
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/4c78595f-4ad5-4acc-8037-6f4ca928b240n%40googlegroups.com.


Groovy script to list deprecated/obsolete plugins in my system?

2023-01-08 Thread zil...@gmail.com
While upgrading Jenkins I came across a script that I was able to run in 
the Script Console  that show which of my currently installed plugins are 
either obsolete or deprecated. Now I can't find it. Does anyone have one 
handy?

Thanks,
Chris

-- 
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/38ecbc60-a59a-495b-8300-6d68f545ca79n%40googlegroups.com.


Re: Another way to uninstall a plugin?

2023-01-08 Thread zil...@gmail.com
No it's not the WMI Windows Agents plugin since we're totally a Linux shop.

I'll try your suggestion of "hovering" the "Uninstall" button. Thanks

On Tuesday, January 3, 2023 at 12:36:46 PM UTC-5 db...@cloudbees.com wrote:

> On Tue, Jan 3, 2023 at 4:49 PM zil...@gmail.com  wrote:
>
>> Thanks. It's a deprecated plugin. I'm trying to uninstall all the 
>> indicated deprecated plugins, but they just keep coming back after a 
>> restart. They are disabled though.
>>
>
> Is it WMI Windows Agents Plugin?
>
> Plugins getting re-installed is expected behavior if they're a plugin 
> whose functionality was split ("detached") from Jenkins core in the 
> past, as is the case with that one. It's the only such plugin currently 
> deprecated as well.
>
> The only real solution is for all other plugins you have installed to 
> declare a core dependency of 1.547 or newer, so none of them cause the 
> detached plugin to be installed automatically again. Check the popup that 
> appears when hovering the "uninstall" button for candidates, or check the 
> URL /pluginManager/api/json?tree=plugins[shortName,requiredCoreVersion] in 
> Jenkins to learn which installed plugins have a ~9 year old core dependency 
> and should be modernized.
>

-- 
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/c19c576d-afc8-4be7-a1a2-dd17ffb51286n%40googlegroups.com.