Jenkins检查哪些插件没有被使用 [英] Jenkins check which plugins are not being used

查看:78
本文介绍了Jenkins检查哪些插件没有被使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Jenkins上安装了150多个插件,想知道如何(可能正在运行Jenkins Console脚本?)找到根本没有使用的插件.有没有办法得到这样的列表?

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?

我发现插件,尽管它仅显示〜所有插件的一半使用了多少工作,另一半则被忽略,如果正在使用则不显示

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

推荐答案

这是一个很难的问题.

插件使用情况插件显示您正在使用这些插件的插件列表和作业数量.但是有一个功能-插件有一些依赖的插件,作业无法使用.如果删除它们-主插件将停止工作.

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.

更好地清理工作区,修剪docker和系统本身.

Better to clean workspaces, prune docker and system itself.

这篇关于Jenkins检查哪些插件没有被使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆