配置jenkins源
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key@H_301_24@
yum安装jenkins
yum install jenkins@H_301_24@
Jenkins官方源:http://pkg.jenkins-ci.org/redhat/