centos下安装jenkins

To use this repository, run the following command:

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


If you've previously imported the key from Jenkins, the "rpm --import" will fail because you already have a key. Please ignore that and move on.

With that set up, the Jenkins package can be installed with:

yum install jenkins
posted @ 2017-06-24 13:45  whendream  阅读(280)  评论(0编辑  收藏  举报