Enquiry: Reliability of "Plugin Usage" Tool and Alternatives

17 views
Skip to first unread message

Onkar Kadam

unread,
Aug 23, 2023, 4:04:20 PM8/23/23
to Jenkins Users

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

Maciej Jaros

unread,
Aug 24, 2023, 5:20:18 AM8/24/23
to jenkins...@googlegroups.com
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):
Reply all
Reply to author
Forward
0 new messages