YUM install the latest version of Jenkins

YUM install the latest version of Jenkins


Step 1: Add the database

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.key


Step 2: Start the installation
yum install jenkins


Step 3: Always start
service jenkins restart


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326410055&siteId=291194637