安装
注意,一定要安装最新版的jenkins,不然后续会有很多插件的依赖关系不好解决,插件无法安装
- https://repo.huaweicloud.com/jenkins/redhat-stable/ 在这里选择最新版本的jenkins
https://repo.huaweicloud.com/jenkins/redhat-stable/jenkins-2.361.1-1.1.noarch.rpm
[root@k8s-master ~]# yum install -y /root/jenkins-2.361.1-1.1.noarch.rpm
# 选择jdk11(如果没有,可以先yum安装)
alternatives --config java