为 jenkins 安装建议的插件

Install suggested plugins for jenkins

我对 Jenkins 很陌生。我安装了它,但不幸的是我没有安装任何插件。 如何在 运行 Jenkins 环境中安装建议的插件?

简短的回答是:您只需转到 “管理插件” (${JENKINS_URL}/pluginManager/) 并选择它们(参见 caveat) yourself according to your needs. The master suggested plugins list is available here

这似乎是 answered here 之前,但未被接受。

取决于您之前安装过还是从以前的版本升级过, 您可能会在 ${JENKINS_HOME}/config.xml 中看到以下行:

发件人:<installStateName>RUNNING</installStateName>

AND/OR ${JENKINS_HOME} 目录中的以下文件:

jenkins.install.UpgradeWizard.state
jenkins.install.InstallUtil.lastExecVersion

删除文件 and/or 将 config.xml 更改为:<installStateName>NEW</installStateName> 将恢复 InstallWizrd。只移除或改变任何存在的东西;不要添加任何东西。这些文件是在您保存并关闭向导时创建的。

将 Jenkins 版本(即:2.303.2)存储到两个文件中将绕过 InstallWizard。

参见@VonC 的 response for Docker images