To use this repository, run the following command:
sudo wget -O /etc/yum.repos.d/jenkins-oc.repo https://downloads.cloudbees.com/jenkins-operations-center/fixed/2.164/rpm/jenkins-oc.repo sudo rpm --import https://downloads.cloudbees.com/jenkins-operations-center/fixed/2.164/rpm/cloudbees.com.key
If you've previously imported the key from Operations Center, 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-oc
If you need *.rpm for a specific version, use these.