Jenkins安裝

RedHat Linux RPM packages for Jenkins

To use this repository, run the following command:java

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.ui

You will need to explicitly install a Java runtime environment, because Oracle's Java RPMs are incorrect and fail to register as providing a java dependency. Thus, adding an explicit dependency requirement on Java would force installation of the OpenJDK JVM.this

  • 2.54 (2017-04) and newer: Java 8
  • 1.612 (2015-05) and newer: Java 7

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

yum install jenkins

See Wiki for more information, including how Jenkins is run and where the configuration is stored, etc.orm

wget https://pkg.jenkins.io/redhat-stable/jenkins-2.138.1-1.1.noarch.rpm

rpm -ivf jenkins-2.138.1-1.1.noarch.rpmxml

/var/lib/jenkins/hudson.model.UpdateCenter.xmlci

相關文章
相關標籤/搜索