安装
配置官方下载源
#配置jenkins源
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
下载jak、jenkins服务
#下载jdk11环境,并且配置
yum install fontconfig java-11-openjdk
#下载jenkins服务
yum install jenkins
启动
systemctl start jenkins.service
systemctl status jenkins.service
systemctl enable jenkins.service
访问客户端jenkins
http://10.0.0.15:8080/
查看管理员密码
cat /var/lib/jenkins/secrets/initialAdminPassword
5a8d6110b3304b018458115535810461
登录后选择安装推荐插件,安装好插件后使用admin账号继续
实例配置
jenkins安装完成