Jenkins check which plugins are not being used

做~自己de王妃 提交于 2021-02-11 13:27:49

问题


I have over 150+ plugins installed on Jenkins and was wondering how to (running Jenkins Console Script maybe?) find the plugins that are not being used at all. Is there a way to get a list like that?

EDIT: I found this plugin, although it shows only ~half of all plugins how many jobs use it, the other half is ignored and not showed if they are being used


回答1:


It is hard question.

Plugin usage plugin shows you list of plugins and number of jobs, which are using these plugins. But there is a feature - plugins have some dependent plugins, which could not be used by jobs. If you delete them - main plugins will stop work.

So my advice is not to delete plugins.

You can only delete plugins, which have the same functionality.

Better to clean workspaces, prune docker and system itself.



来源:https://stackoverflow.com/questions/63536358/jenkins-check-which-plugins-are-not-being-used

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!