如何获得安装特定插件的Jenkins用户?

问题描述 投票:0回答:1

我正在使用Jenkins,需要支持来获取已安装插件的列表以及安装它的相应用户?

jenkins jenkins-plugins
1个回答
0
投票

要获取插件列表,我没有发现任何问题。只需转到选项卡Jenkins --> Manage Jenkins --> Manage Plugins上的installed,您将获得已安装插件的完整列表。如果您还想查看正在使用哪个插件的作业,我可以为您推荐Plugin Usage Plugin。您将获得一个名为Plugin Usage的新配置选项。在这里,您还可以看到所有插件及其使用位置。


现在是您的真正问题:您可以在jenkins.log文件中找到该信息。

Sep 30, 2019 4:04:46 PM hudson.model.UpdateCenter$DownloadJob run
INFO: Starting the installation of <Plugin> on behalf of <Username>

因此,如果您执行类似grep "INFO: Starting the" jenkins.log的操作,则会获得“插件操作”的完整列表:

INFO: Starting the downgrade of AnsiColor on behalf of <Username>
INFO: Starting the installation of AnsiColor on behalf of <Username>
INFO: Starting the installation of NAnt on behalf of <Username>
© www.soinside.com 2019 - 2024. All rights reserved.