【Linux】CentOS安装Jenkins

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo

sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key

sudo yum install -y jenkins

稳定版本

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo

sudo rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key

sudo yum install -y jenkins

sudo yum install -y java

systemctl start jenkins

systemctl enable jenkins

wget 安装:

sudo yum -y install wget

原文地址:https://www.cnblogs.com/xioawu-blog/p/10999162.html