1、下载并安装jenkins安装包
wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.keyyum install jenkins
2、yum安装jenkins和java
yum install jenkins
yum install java
3、启动jenkins服务
service jenkins start
4、web界面配置
时间: 2024-10-13 08:37:38