The plugin seems like a good starting point...
https://stackoverflow.com/a/36279537/333296

...but if you use pipeline you would have to analyse it yourself probably:
Plugins Usage Plugin isn't very useful IMO because it doesn't detect plugin usage from pipeline jobs. I installed this months ago and the Plugin only reports that 4/100 of my installed plugins are used and I know this to be false. Then I found their own docs admit this as well: "Plugins used in pipeline scripts would not be listed normally as used by jobs, because they are used dynamically in Jenkinsfiles."

Also it would be nice if there was some dependency tree for the installed plugins. Pipeline has a lot of dependencies and you cannot uninstall most of the plugin if you use that (e.g. Folders seem to be required).

Cheers,
Maciej Nux

Onkar Kadam (2023-08-22 08:01):

Hi,

Our team is looking to optimize our Jenkins environment by removing unused plugins. We came across the "Plugin Usage" tool and wonder about its reliability. Any insights? Also, could you help us with any alternative suggestions.


Thanks,

Onkar Kadam


--
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/93db96cc-733b-6d5c-939f-6367b62716e8%40mol.com.pl.

Reply via email to