Jenkins: “某些插件无法正确安装,您可以重试安装它们或在没有失败的插件的情况下继续”...

4739d0296f07109bb1edf30ac5b7f0fd.png

Jenkins can be installed in many ways – but after installation, the way to set up Jenkins in all the systems is the same. The steps are as follows

Jenkins 可以通过多种方式安装,但安装后,在所有系统中设置 Jenkins 的方法都是相同的。步骤如下

Step 1 – Open ‘localhost:8080’ in the browser if you haven’t changed the port of Jenkins.

第 1 步 – 如果您尚未更改 Jenkins 的端口,请在浏览器中打开"localhost:8080"。

Step 2 – Unlock Jenkins using the Initial Admin password and provide your administrator account details.

第 2 步 – 使用初始管理员密码解锁 Jenkins 并提供您的管理员账户详细信息。

Step 3 – Install the recommended or required plugins.

第 3 步 – 安装推荐或必需的插件。

While you have performed the installation process of Jenkins step by step perfectly, you meet an error – “Some plugins failed to install properly, you may retry installing them or continue without the failed plugins” in Step 3 of setting up Jenkins, which pops up when the suggested plugin’s installation in Jenkins is not able to complete its installation.

当您一步一步完美地执行了 Jenkins 的安装过程时,您会遇到一个错误——在设置 Jenkins 的步骤 3 中,您会遇到一个错误——“某些插件无法正确安装,您可以重试安装它们或在没有失败的插件的情况下继续”,当建议的插件在 Jenkins 中的安装无法完成安装时弹出。

0a44c8872928d46c1e643e943f6a9b7e.png

Solutions解决方案

Solution 1: Check your network connection and troubleshoot it.

解决方案 1:检查您的网络连接并对其进行故障排除。

Solution 2: Try clicking the Retry button at the bottom of the page. Sometimes installation of plugins works by retrying the installation several times.

解决方案 2:尝试单击页面底部的 Retry (重试) 按钮。有时,插件的安装需要多次重试安装才能实现。

Solution 3: Try restarting Jenkins.

解决方案 3:尝试重新启动 Jenkins。

Solution 4: When installed using jenkins.war file, try running Jenkins in Java-enabled mode.

Command – (In terminal) [works on all OS]

解决方案 4:使用 jenkins.war 文件安装时,请尝试在启用 Java 的模式下运行 Jenkins。

命令 –(在终端中)[适用于所有操作系统]

#after this command  refresh the browser page
java -jar jenkins.war --enable-future-java flag

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值