Beekeeper plugin exceptions

4 minute read

Beekeeper plugin exceptions provide a way to fix urgent bugs or security issues related to plugins by upgrading to a version of a plugin that is not yet available in the CloudBees Assurance Program.

Beekeeper plugin exceptions are intended to be temporary and are not recommended because they may cause unintended consequences. Therefore, Beekeeper plugin exceptions are disabled by default and only users with Configure Controller permissions can allow exceptions. For details, see Important considerations for using Beekeeper plugin exceptions. If you enable Beekeeper plugin exceptions, return to the approved plugin version in CloudBees Assurance Program as soon as possible.

Only plugin upgrades are allowed. You cannot downgrade plugin versions using an exception.

Important considerations for using Beekeeper plugin exceptions

By allowing a plugin exception, you no longer have a verified configuration.

Ensure you understand the following issues before you allow a plugin exception:

  • Plugins may not work together as expected.

  • You may experience instability in your environment.

  • Your system may experience performance issues.

  • You do not receive full support from CloudBees as you do with a verified plugin.

Prerequisites for using Beekeeper plugin exceptions

The following plugins must be installed to enable Beekeeper plugin exceptions:

  • CloudBees operations center Client plugin version 2.235.0.9 or later installed on the controller

  • CloudBees operations center Server plugin version 2.235.0.11 or later installed on the operations center

  • CloudBees Assurance plugin version 2.138.0.17 or later installed on both the controller and the operations center

In addition, you must have Configure Controller permissions.

Setting up Beekeeper plugin exceptions

Be sure to read the important considerations for using Beekeeper plugin exceptions before you start this procedure.

To set up Beekeeper plugin exceptions:

  1. Add Beekeeper plugin exceptions to a plugin plugin-catalog-file.json file. See Defining a plugin catalog for details about how to create a plugin catalog.

    • Use the following example format for exceptions in the plugin catalog:

      { ..., "beekeeperExceptions" : { "support-core": { "version" : "2.70" } } }
    • The following example plugin catalog shows a Beekeeper plugin exception and an inclusion for another plugin:

      { "type" : "plugin-catalog", "version" : "1", "name" : "override", "displayName" : "override", "configurations" : [ { "description" : "override", "includePlugins" : { "greenballs": { "version" : "1.14" } }, "beekeeperExceptions" : { "support-core": { "version" : "2.70" } } } ] }
  2. Ensure the plugin catalog is installed on operations center. See Adding a plugin catalog

  3. From the operations center, click the arrow next to the controller for which you want to allow an exception.

  4. Select Configure.

    Figure 1. Allow exceptions
    Figure 1. Allow exceptions
  5. Under Plugin Catalog, select Allow exceptions.

  6. Select Specify a plugin catalog for this controller.

  7. In Catalog, select the name of the plugin catalog that contains the exception.

  8. Click Check Validity. Ensure that "The catalog is compatible with the controller" is returned.

  9. Click Save.

Viewing Beekeeper plugin exceptions

Exceptions appear on the Beekeeper Plugin Exceptions screen, where you can find the plugin ID, the version number that’s in the CloudBees Assurance Program, the version number of the exception, and the SHA1.

To view Beekeeper plugin exceptions:

  1. From the controller, select Manage Jenkins > Beekeeper Upgrade Assistant.

  2. On the left, select Beekeeper Plugin Exceptions.

    Beekeeper plugin exceptions
    Figure 2. Beekeeper Plugin Exceptions screen

Removing a Beekeeper plugin exception

CloudBees recommends removing Beekeeper plugin exceptions as soon as you are done with them to ensure that you are using a verified version of a plugin.

You can do one of the following:

  • Remove the exception and revert to the version in CloudBees Assurance Program.

  • Remove the exception and upgrade the controller to a version equal to or newer than the exception.

To remove the exception and revert to the version in CloudBees Assurance Program:

  1. Go to Manage Jenkins > Manage Plugins.

  2. On the Installed tab, select Downgrade next to the plugin name to revert to the plugin version that is verified in CloudBees Assurance Program.

  3. Remove the exception from the plugin catalog.

  4. From the operations center, click the arrow next to the controller from which you want to remove the exception.

  5. Select Configure.

  6. Uncheck Allow exceptions.

To remove the exception and upgrade the controller to a version equal to or newer than the exception:

  1. Remove the exception from the plugin catalog.

  2. Apply the updated plugin catalog to the controller.

  3. From the operations center, click the arrow next to the controller from which you want to remove the exception.

  4. Select Configure.

  5. Uncheck Allow exceptions.

  6. From the controller, select Manage Jenkins > Beekeeper Upgrade Assistant.

  7. On the left, select CAP Configuration.

  8. Verify Allow automatic upgrades of plugins on restart is selected.

  9. Click Save.

  10. Restart the instance.

Troubleshooting Beekeeper plugin exceptions

  1. I received an error message that Beekeeper plugin exceptions are not supported. What should I do?

    The latest version of both the CloudBees operations center Client plugin and the CloudBees operations center Server plugin is required to use Beekeeper plugin exceptions. Upgrade those two plugins, and then try again.

  2. I received an error message that Beekeeper plugin exceptions are unknown. How do I resolve that?

    The controller is offline, so the exceptions cannot be validated. Ensure the controller is online, and then try again.

  3. I specified a plugin catalog for a controller and received an error message, “The controller is not allowed to have Beekeeper Plugin Exceptions”. Why does this error appear?

    You must select the Allow exceptions checkbox in addition to specifying a plugin catalog.

    Allow exceptions error
    Figure 3. Allow exceptions error
In August 2020, the Jenkins project voted to replace the term master with controller. We have taken a pragmatic approach to cleaning these up, ensuring the least amount of downstream impact as possible. CloudBees is committed to ensuring a culture and environment of inclusiveness and acceptance - this includes ensuring the changes are not just cosmetic ones, but pervasive. As this change happens, please note that the term master has been replaced through the latest versions of the CloudBees documentation with controller (as in managed controller, client controller, team controller) except when still used in the UI or in code.