Issue
The pages crash with Angry Jenkins or feature that supposed to run in background does not appear to work. Logs show errors like:
2020-01-01 01:01:01.101+0000 [id=40] SEVERE hudson.triggers.SafeTimerTask#run: Timer task com.cloudbees.opscenter.server.rbac.ConnectedMasterProxyGroupContainer$NodeContextRBACUpdater@109dbeb2 failed java.lang.ClassNotFoundException: jenkins.model.DownloadSettings Caused: java.lang.NoClassDefFoundError: jenkins/model/DownloadSettings
2020-01-01 01:01:01.101+0000 [id=44] SEVERE hudson.triggers.SafeTimerTask#run: Timer task com.cloudbees.opscenter.server.model.ConnectedMaster$UpdateRemoteContexts@238a9 2bd failed java.lang.NoClassDefFoundError: jenkins/model/DownloadSettings
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
-
CloudBees Jenkins Enterprise
-
CloudBees Jenkins Enterprise - Managed controller
-
CloudBees Jenkins Enterprise - Operations center
Resolution
Make sure you are enrolled in CloudBees Assurance Program and resolve any violation where plugins are older than Beekeeper Upgrade Assistant expects.
Explanation
Jenkins LTS 2.204.1 removed browser-based metadata download settings which correspond to the jenkins/model/DownloadSettings
class. If you upgrade your instance to 2.204.1 or newer but do not update the plugins which used to use the removed API you would get errors like quoted above.
Examples of such plugins are: