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

这里写目录标题

  • 一、Jenkins安装maven integration plugin失败解决方法
    • (1)修改系统时间
    • (2)查看当前操作系统时间
    • (3)防止出错先执行命令
    • (4)修改系统时间
    • (5)写入BIOS硬件
    • (6)接着去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

Jenkins安装maven integration plugin以及jenkins安装allure插件失败的解决方法_第1张图片
接着继续去安装即可成功
Jenkins安装maven integration plugin以及jenkins安装allure插件失败的解决方法_第2张图片

Jenkins安装maven integration plugin以及jenkins安装allure插件失败的解决方法_第3张图片

你可能感兴趣的:(jenkins,jenkins,maven,运维)