Symptoms
-
A plugin release has been announced ("plugin X version y.z"), but it is not available in the Update Center in my instance.
Diagnosis/Treatment
In case a certain plugin is not available via Update Center, | without CloudBees' agreement. Manual Upload could break your instance because of dependency mismatches among other plugins and/or core incompatibility.
The following points need to be checked in order to identify the root cause. They are valid for installed/existing plugins in your instance as well as new ones (a fresh plugin installation).
-
Check first if your instance is connected to a Custom Update Center (UC) from an Operation Center. If so, "plugin X version y.z" needs to be promoted in order Client/Managed controller can install it. In the case that it has been promoted, but it is still not available, please click on
Check Now
on the Advance Properties tab in the Plugin Manager to force an update. -
A new plugin releases should be published on the official sites:
-
For Jenkins plugins, please check on the Jenkins plugin page.
It has been reported cases that release seems to be tagged, but it has not been published for some reason. -
For CloudBees plugins, please check on the CloudBees CI Plugins index.
Check the id
,version
andrequiredCore
attributes.
-
-
There are plugins that cannot be installed in any of their versions because they have been block-listed by jenkins.io.
-
Check if your instance is enrolled or not in the CloudBees Assurance Program (CAP). If it is on and you need to install a newer version than recommended, please use Beekeeper plugin exceptions.
-
The plugin releases version should be available from your specific Update Center Service according to your core, product and enrolment into the CloudBees Assurance Program (CAP)
-
For Jenkins Update Center:
https://updates.jenkins-ci.org/update-center.json
. It always points to the latest Jenkins version. -
For CloudBees CI on modern cloud platforms:
-
Operations center
-
CAP:
https://jenkins-updates.cloudbees.com/update-center/envelope-core-oc/update-center.json?id=cap-core-oc&version=<VERSION>
-
No CAP:
https://jenkins-updates.cloudbees.com/update-center/core-oc/update-center.json?id=core-oc&version=<VERSION>
-
-
Managed controller
-
CAP:
https://jenkins-updates.cloudbees.com/update-center/envelope-core-mm/update-center.json?id=cap-core-mm&version=<VERSION>
-
No CAP:
https://jenkins-updates.cloudbees.com/update-center/core-mm/update-center.json?id=core-mm&version=<VERSION>
-
-
-
For CloudBees CI on traditional platforms
-
Operations center
-
CAP:
https://jenkins-updates.cloudbees.com/update-center/envelope-core-oc-traditional/update-center.json?id=cap-core-oc-traditional&version=<VERSION>
-
No CAP:
https://jenkins-updates.cloudbees.com/update-center/core-oc-traditional/update-center.json?id=core-oc-traditional&version=<VERSION>
-
-
Client controller
-
CAP:
https://jenkins-updates.cloudbees.com/update-center/envelope-core-cm/update-center.json?id=cap-core-cm&version=<VERSION>
-
No CAP:
https://jenkins-updates.cloudbees.com/update-center/core-cm/update-center.json?id=core-cm&version=<VERSION>
-
-
-
|
Example Scenario
Scenario description: CJE 2.7.20.2-rolling instance needs EC2 plugin to be updated from 1.35
to 1.36
but in the Plugin Manager does not offer the option:
Resolution:
1. At the moment of writing this article, the wiki page of the EC2 plugin looked like:
So, at this point, we can tell regarding the EC2 plugin (id: ec2
) that:
-
latest release is
1.36
-
required core is
1.651.3
. So this requirement is met because the example scenario is on2.7.20.2
As it is an OSS plugin, GitHub repo of the plugin also can be checked:
Seeing this matching (wiki-GitHub), it can be told that latest release of the plugin has been done successfully and it is available on Jenkins Update Center.
2. Then, "ec2"
(plugin id) is used for searching the plugin metadata on the service https://jenkins-updates.cloudbees.com/update-center/envelope-cje/update-center.json?version=2.7.20.2.
For improving visualization, we move the analyzed EC2 metadata towards a JSON editor
So, the latest plugin release available on the Plugin Manager according to the core is 2.7.20.2
rolling is 1.35
3. Finally, it is time to check if the Beekeeper Upgrade Assistant is activated. Going to $JenkinsURL/beekeeper/
we noticed that is enabled.
If this is a newer instance you will need to do one more step to see if it is enabled where you go to the beekeeper link:
Then click the sidebar link called CAP Configuration
where you will find the same UI again:
So, without restarting the instance, we disabled it (do not forget to click on Save)…
-
and that moment, the Update Center endpoint changes from
https://jenkins-updates.cloudbees.com/update-center/envelope-cje/update-center.json
tohttps://jenkins-updates.cloudbees.com/update-center.json
, it gets outside the "envelope".
And without being enrolled in the CloudBees Assurance Program, latest released of the plugin is available under the Updates tab so.. for this specific scenario the root cause was found: ec2 is not available yet for CJE 2.7.20.2-rolling under CAP.