When opening the Blue Ocean interface on a Master, an error message reading, “Favoriting Error - Organization jenkins not found” is displayed.
- CloudBees CI (CloudBees Core) on modern cloud platforms - Managed Master
- CloudBees CI (CloudBees Core) on traditional platforms - Client Master
- CloudBees Jenkins Enterprise - Managed Master
- CloudBees Jenkins Platform - Client Master
The resolution is dependent on the type of master running.
In case you are using a Teams Master, the logs should show something similar to:
2019-06-14 06:39:43.388+0000 [id=399615] SEVERE c.c.o.c.b.BlueSteelOrganizationFactoryImpl#initOrganization: Could not find Blue Steel Team Folder my-team-master (my-team-master). Teams will not work correctly ...
my-team-master is the name of the master.
When creating a Team Master a folder is automatically generated at the root of your master with the same name as the Team Master.
This folder was removed, which is causing the issue.
You will need to create a new Team master as the folder (of type
com.cloudbees.opscenter.bluesteel.folder.BlueSteelTeamFolder) holds the information defining the master.
You can use this guide to migrate jobs from the old Team Master to the new one.
This error is due to the installation of the Managed Master New User Experience.
This plugin is designed to only run on a Teams Master.
The solution is to un install this plugin and restart the Master.
Note: in case you are managing the plugins by code, the artifactid of the plugin is bluesteel-master.
CloudBees Core on modern cloud platforms - Managed Master version 18.104.22.168