sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
导出密钥(若之前已从Jenkins导入过密钥,“rpm–import”将失败,请忽略,继续执行下面)
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
安装Jenkins
yum install -y jenkins
这篇文章还没有评论