How to change the Jenkins RPM repository?


Our current installation was done via RPM. How do I change the repository to / from CJE / OSS


  • CloudBees Jenkins Enterprise
  • Jenkins
  • RPM


Assuming you followed the docs for Installing on Red Hat, CentOS, or Fedora, you should have:


If not, then you need to find the repository declaration under /etc/yum.repos* that contains either:

for CJE,

or for OSS, either:


You need to remove this repository declaration.

Example (assuming you followed the docs):

sudo rm -f /etc/yum.repos.d/jenkins.repo

and now clean up yum.

sudo yum clean all

Convert From OSS to CJE

Follow the docs, Installing on Red Hat, CentOS, or Fedora

Convert From CJE to OSS

Follow the OSS Wiki, Installing Jenkins on Red Hat distributions

See also:

Have more questions?


Please sign in to leave a comment.