centos 7安装jenkins

1. 安装java

yum install java

2. 安装jenkins

wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
yum install jenkins
原文地址:https://www.cnblogs.com/osroot/p/5708542.html