如何在 Jenkins 中手动安装插件 [英] How to install a plugin in Jenkins manually
问题描述
从更新中心安装插件会导致:
Installing a plugin from the Update center results in:
检查互联网连接无法连接到http://www.google.com/.也许您需要配置 HTTP 代理?部署插件失败 - 详细信息 hudson.util.IOException2: Failed to download fromhttp://updates.jenkins-ci.org/download/plugins/deploy/1.9/deploy.hpi
Checking internet connectivity Failed to connect to http://www.google.com/. Perhaps you need to configure HTTP proxy? Deploy Plugin Failure - Details hudson.util.IOException2: Failed to download from http://updates.jenkins-ci.org/download/plugins/deploy/1.9/deploy.hpi
是否可以下载插件并手动安装到 Jenkins 中?
Is it possible to download the plugin and install it manually into Jenkins?
推荐答案
是的,你可以.下载插件(*.hpi文件),放到以下目录:
Yes, you can. Download the plugin (*.hpi file) and put it in the following directory:
<jenkinsHome>/plugins/
之后您将需要重新启动 Jenkins.
Afterwards you will need to restart Jenkins.
这篇关于如何在 Jenkins 中手动安装插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!