Yum list is not listing all Jenkins versions in Redhat repo

Jenkins setup:

  • OS: Red Hat Enterprise Linux 8.10 (Ootpa)
  • Java: openjdk version “21.0.9” 2025-10-21 LTS

Issue/Question:

Red hat jenkins repo is not listing all Jenkins versions (only the current, and 1 available)

sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo

[dev] jenkins@cax00053 ~ $ sudo yum list jenkins --showduplicates
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
fil-patch-version
Installed Packages
jenkins.noarch                                                                           2.516.1-1.1
Available Packages
jenkins.noarch                                                                           2.541.1-1

I’m used to seeing a long list of versions running these same commands. Is there something missing or something potentially getting blocked from the company firewall?

That is expected. The Jenkins 2.541.1 upgrade guide says:

Red Hat and openSUSE now use the same RPM packages from the same unified repository at https://pkg.jenkins.io/rpm-stable/. Users with an already installed prior version are transparently redirected when refreshing their repositories: https://pkg.jenkins.io/redhat-stable/ and https://pkg.jenkins.io/opensuse-stable/ both redirect to the new URL.

By default, Red Hat and openSUSE package users that upgrade to 2.541.1 will not be able to downgrade to an older version, unless they modify their local yum or zypper repository definitions. The old repositories are retained and allow older versions (before 2.541.1) to be installed by using the following URLs: https://pkg.jenkins.io/redhat-stable-legacy/ for Red Hat distributions and https://pkg.jenkins.io/opensuse-stable-legacy/ for openSUSE distributions.

We intentionally chose to make the upgrade transparent for users that want to upgrade to the most recent release. Users that are installing older releases will need to adjust their local repository definition.

Thanks for the quick response.

Initially I was going to upgrade to LTS version 2.528.3 which is the version I was looking for in the yum list, so I had only checked the upgrade guide for this version. Since the Red hat change is more general, would it be good to have these changes listed in a general upgrade guide (instead of version specific)?

Just to confirm if my understanding is correct, would I be updating the repo in the wget command I listed to https://pkg.jenkins.io/rpm-stable/jenkins.repo?

There isn’t a general upgrade guide. Users performing upgrades are told to read the upgrade guide for all the versions from their starting point to the current upgrade guide.

You can make that change, but it is optional, since the previous URL redirects to the new URL.