There are two primary use cases where you may need to move credentials between controllers:
-
Cloning a controller.
-
Moving jobs from a monolithic controller into a smaller team controller.
Manage credentials when cloning a controller
You may need to create a test controller from the backup of a production controller. If you do so, and the controllers are in the same cluster, you may receive errors, and should use the following instructions to resolve the problem:
-
Sign in to the origin controller and stop the controller.
-
Using administrative SSH or console access, sign in to the controller and remove the following files:
-
$JENKINS_HOME/license.xml -
$JENKINS_HOME/operations-center-cloud* -
$JENKINS_HOME/operations-center-client* -
$JENKINS_HOME/com.cloudbees.opscenter.client.plugin.OperationsCenterRootAction.xml
-
-
Disable security:
-
Open
$JENKINS_HOME/config.xml. -
Locate the line
<useSecurity>true</useSecurity>and change the value to<useSecurity>false</useSecurity>. -
Save
$JENKINS_HOME/config.xml.
-
-
Start the Jenkins service.
-
Create a new client controller in the operations center and push the modified configuration in
$JENKINS_HOME/config.xmlto it.
Manage credentials when moving jobs between controllers
|
Starting with the July 2026 CloudBees CI release, Blue Ocean and team controllers will reach end-of-life (EOL) and will no longer be supported. After this date, Blue Ocean and team controllers will not receive updates, security patches, or technical support and will be removed from the CloudBees Assurance Program (CAP). What this means for you:
CloudBees strongly encourages all customers to complete their migration away from team controllers before the EOL date to ensure uninterrupted service. For detailed migration guidance, please refer to In-place conversion of team controllers to managed controllers. If you have questions or need assistance, please contact CloudBees Support. |
If you are moving a set of jobs from a monolithic controller to a team controller and you receive "duplicate instance" errors:
-
Stop Jenkins.
-
Change to the
$JENKINS_HOMEdirectory. -
Delete the
secret.keyfile. -
Delete the
license.xmlfile. -
Start Jenkins.
Select in the upper-right corner to navigate to the Manage Jenkins page, and then select Manage License to display your instance ID.
You can also go to https://$JENKINS_URL/license to view the instance ID associated with your license.
|