about
Windows environment
We introduce the following how to install the plug-in in Jenkins.
Jenkins first obtain their own version of
the lower right corner of the page you can see Jenkins version.
Automatic installation
The so-called automatic installation, download the plug is to search through the plug-in management Jenkins.
Select 系统管理
the following 插件管理
, select 可选插件
, and then 过滤
enter your desired plug-in input box, and then click 直接下载
to.
PS: If the plug-in already exists, looks like there will be no filter results .......
after the bin, will enter the plug-in installation procedure.
When you checked 安装后重启Jenkins(空闲时)
, it will restart Jenkins at the right time.
Of course, you can manually restart Jenkins.
By visiting restart
route, prompt selection 是
can be.
Installation Manual
Probably because of this reason or another, failed to install the plug by Jenkins, lead we need to manually download the plug-in and install it in Jenkins, how to download it?
Downloaded directly from the following link
当然你也可以去官网点击插件然后搜索相应的插件进行下载(其实也是从上面的链接中下载的)。
这里以上面的链接为例。
搜索相应的插件
打开上面的链接,Jenkins中所有的插件基本都在这里了。直接Ctrl + F
后输入你想要的插件名,我这里以allure
插件为例。定位到该插件后,点击它。
根据版本下载插件
此时我的Jenkins版本是最新的,所以我选择permalink to the latest
,也就是永久连接到最新版的。你可以根据你的Jenkins版本进行单击下载到本地。
将本地的插件上传到Jenkins
- 选择
系统管理
下面的插件管理
。 - 选择
高级
,下拉找到上传插件
。 - 点击
选择文件
按钮,从本地将之前下载好的插件上传。 - 点击
上传
。
插件安装
当你点击上传之后,Jenkins会进入插件安装步骤。
当你勾选了安装后重启Jenkins(空闲时)
,就会在合适的时间进行重启Jenkins。
当然,你也可以手动的重启Jenkins。
方法是访问restart
路由,提示中选择是
即可。
卸载插件
选择系统管理
下面的插件管理
,选择已安装
,找到插件,然后点击卸载
即可。
see alse:Jenkins插件下载列表页