Why do Beekeeper not offer simplified upgrades ?

Issue

  • I received a security warning that mentions that I need to do an incremental upgrade but the Upgrades section of Beekeeper shows “No upgrades are available.”
  • Once a new full version is available, I cannot see incremental upgrades in the Beekeeper Upgrade Assistant. I only see the new full upgrade.

Environment

Explanation

Beekeeper detects new upgrades from update sites (update centers) similar to how it detects new versions of plugins.

The default behavior of Beekeeper is to offer the latest upgrade available. That includes simplified upgrades (also known as revision or incremental upgrades) or full upgrades.

However only one upgrade is advertised and the full upgrade takes precedence over simplified upgrades. If a new full upgrade is available, simplified upgrades are not offered anymore by Beekeeper.

Resolution

Running the latest CloudBees Core full version

In that case, simplified upgrade should be visible. Refresh the update center metadata:

  • Got to Manage Jenkins > Manage Plugins
  • Click on “Check Now”

Allow few seconds for Jenkins to refresh the metadata. Then go to Manage Jenkins > Beekeepeer Upgrade Assistant > Upgrades

Not running the latest CloudBees Core full version

In that case, this is expected. System properties can be used to control that behavior.

PropertyDescription
cb.BeekeeperProp.noFullUpgradeDefault to false. Do not check for full upgrades.
cb.BeekeeperProp.autoInstallIncrementalDefault to false. Install incremental upgrades automatically at startup.

In order to see the offered simplified upgrade:

Then go to Manage Jenkins > Beekeepeer Upgrade Assistant > Upgrades where you should see the upgrade.

Note: In that scenario, it would take to restart to complete the simplified upgrade. One restart to be able to see it. Then another restart to apply it. To minimize the number of restart, the property -Dcb.BeekeeperProp.autoInstallIncremental can be added to automatically carry out the simplified upgrade on startup when it is available.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.