1、将Jenkins存储库添加到yum repos
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
导入keysudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
2、yum安装jenkins
yum install jenkins提示找不到包
http://mirrors.jenkins-ci.org/从这个地方自己下载之后在上传到linux服务器