CICD: CentOS 8 安装Java(JDK 1.8)
yum install git
git --version
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
yum install jenkins
vi /etc/sysconfig/jenkins
#监听端口 JENKINS_PORT="8080"
service jenkins restart
systemctl status jenkins