To use this repository, run the following command:
sudo wget -O /etc/yum.repos.d/jenkins.repo https://downloads.cloudbees.com/jenkins-enterprise/fixed/2.222/rpm/jenkins.repo sudo rpm --import https://downloads.cloudbees.com/jenkins-enterprise/fixed/2.222/rpm/cloudbees.com.key
If you've previously imported the key from Client Master, the "rpm --import" will fail because you already have a key. Please ignore that and move on.
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.
yum install jenkins
If you need *.rpm for a specific version, use these.