jenkins安装
jdk
- 1.8 的jdk rpm包下载(需要登录oracle): https://www.oracle.com/cn/java/technologies/javase/javase-jdk8-downloads.html
- 安装jdk: yum install jdk-8u191-linux-x64.rpm -y
jenkins的rpm包下载
- jenkins2.204下载:
https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat/ - 安装:
yum install jenkins-2.204-1.1.noarch.rpm -y - 访问 8080端口:
- 提示离线:
- 修改配置文件后重新启动
vim /var/lib/jenkins/hudson.model.UpdateCenter.xml
替换阿里地址: https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json