Connect the CloudBees platform to your CloudBees CI and Jenkins® instances, so the platform can then interact with the CI system to collect build execution details or to trigger jobs in the remote system.
After you create this integration, data is available in the CI insights for Jenkins dashboard.
To create a CI insights integration:
-
Select an organization, and then select .
-
Select Create integration.
-
Select CI insights, and then select one of the options.
You can also create a CI insights integration at . Select Create integration, and then select one of the options.
-
Enter a Name and an (optional) Description.
-
Configure the integration.
-
For CloudBees CI controllers and the operations center, the CloudBees Platform Insights plugin requires CloudBees CI 2.440.3.7 or later.
-
For Jenkins, CloudBees Platform Insights plugin requires Jenkins 2.414.3 or later.
-
For CloudBees CI controller and operations center:
-
From the CloudBees CI controller dashboard, select in the upper-right corner to navigate to the Manage Jenkins page.
-
Select .
-
Search for CloudBees Platform Insights Plugin and then install it
-
Select Restart Jenkins when installation is complete, and no jobs are running.
-
-
For Jenkins:
-
In Jenkins, select in the upper-right corner to navigate to the Manage Jenkins page.
-
Select .
-
Search for CloudBees Installation Plugin and then install it.
-
Search for CloudBees Platform Insights Plugin and then install it.
-
Select Restart Jenkins when installation is complete, and no jobs are running.
Figure 1. CloudBees integration plugins in Jenkins
-
-
-
Select in the upper-right corner to navigate to the Manage Jenkins page.
-
Select System, and then search for CloudBees Platform Insights.
-
Enter the authentication code from the CloudBees platform.
Figure 2. Platform authentication code for a Jenkins integration
Figure 3. Pasted authentication code in Jenkins system configuration -
Save the Jenkins configuration.
-
Select Submit to save the integration in the platform.
The CI insights integration is connected and listed in Integrations.