Jenkins安装maven integration plugin以及jenkins安装allure插件失败的解决方法

一、Jenkins安装maven integration plugin失败解决方法

确保系统时间和时区设置正确

(1)修改系统时间

[root@mylinux1 ~]# sudo timedatectl set-timezone Asia/Shanghai
[root@mylinux1 ~]# sudo timedatectl set-time "2023-04-11 20:40:50"

报错:Failed to set time: Automatic time synchronization is enabled

处理方法:先执行如下命令

timedatectl set-ntp no

然后在执行修改命令。
手动修改centos7操作系统时间步骤:

(2)查看当前操作系统时间

hwclock --show
或
date

发现和实际北京时间相差过多,于是手动修改。

(3)防止出错先执行命令

timedatectl set-ntp no

(4)修改系统时间

[root@mylinux1 ~]# timedatectl set-time '2023-04-11 20:42:40'

(5)写入BIOS硬件

clock -w

(6)接着去jenkins中下载Maven Integration plugin插件,即可成功

二、jenkins安装allure插件失败的解决方法

将原Jenkins网站:http://updates.jenkins-ci.org/update-center.json
修改为:https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

在这里插入图片描述
接着继续去安装即可成功
在这里插入图片描述

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/YZL40514131/article/details/130094480
今日推荐