Integrated CI jobs and builds

3 minute read

Incorporate continuous integration (CI) into CloudBees platform to view your CloudBees CI and Jenkins® Multibranch Pipelines jobs and builds in Workflows and Runs for the associated component, including test results and generated artifact information.

Prerequisites

Set up CloudBees platform and your CI controller to work together. For more information, including technical requirements and limitations, refer to Getting started.

Access the Multibranch Pipeline component

The component containing the CI Multibranch Pipeline integration is listed in the components list for your CloudBees platform organization.

Select Components, and then select the component containing the CI integration. View the component details using the tabbed navigation.

Review Multibranch Pipeline jobs

From the CloudBees platform component containing the CI integration, view all Multibranch Pipeline jobs.

To view the CloudBees CI or Jenkins job:

  1. Select the organization and component associated with the CI job.

  2. Select Components  Workflows.

  3. (Optional) Select Filters to filter by Provider:

    • CloudBees CI as Provider indicates a CloudBees CI job.

    • Jenkins as Provider indicates a Jenkins job.

Your connected CI pipeline jobs are listed as part of all workflows associated with that component, and identified by Provider.

CI in workflows
Figure 1. Highlighted CloudBees CI job in the Workflows list.

As shown in the above example:

  • The Provider is identified as CloudBees CI.

  • To view the job details, select Go to Controller.

Review Multibranch Pipeline builds

From the component containing the CI integration, view all Multibranch Pipeline builds.

To view the CloudBees CI or Jenkins build:

  1. Select the organization and component associated with the CI build.

  2. Select Components  Runs.

  3. (Optional) Select Filters to filter by Provider:

    • CloudBees CI as Provider indicates a CloudBees CI build.

    • Jenkins as Provider indicates a Jenkins build.

Your connected CI pipeline builds are listed as part of all runs associated with that component, and identified by Provider.

CI in runs
Figure 2. CloudBees CI builds in the Runs list.

As shown in the above example:

  1. After enabling implicit code security analysis, the implicit security scan is displayed in the Run summary.

    To learn more about available security metrics for integrated CI jobs and builds, refer to Integrated CI analytics.
  2. Select the build name to view the build details in Runs  Run details.

  3. Select the external link to view the build in the controller.

Review Multibranch Pipeline build details

Access the details for your Multibranch Pipeline builds.

To view CloudBees CI or Jenkins build details:

  1. Select the organization and component associated with the CI build.

  2. Select Components  Runs.

  3. Select the build name, as shown in the build figure above.

The connected CI pipeline build details are displayed.

CI in run details
Figure 3. An example CloudBees CI build in Run details.

As shown in the above example:

  1. Select the external link View build in controller to go to the build in the controller.

  2. Select the following tabs:

    • Stages: To view a summary of the build stages.

    • Test results: To view any test results from your build.

    • Build artifacts: To view a list of generated artifacts from your build.

  3. Select the external link View logs to go to the build logs in the controller.

  4. Select Learn more go to the CloudBees Pipeline Explorer documentation. CloudBees Pipeline Explorer is a tool for enhanced log viewing and troubleshooting.

Review the component summary

The Component summary tab in Components displays a comprehensive snapshot of all activities related to your component. Display the most relevant data by filtering on a repository branch and/or a specified time frame. For more information, refer to Component summary.

Component for integrated CI
Figure 4. An example summary for a component integrated with CI.

Review security issues and findings

Select Components  Security overview or Components  Security center to get security details for integrated CI jobs and builds.

Refer to the following for more information:

Security center for integrated CI
Figure 5. An example of the Security center for a component integrated with CI.

Review artifact information

If you have generated build artifacts, select Components  Artifacts for your integrated CI component to review the complete version history for each artifact. To learn more, refer to Register and view build artifacts.

Next steps

Leverage CloudBees platform features to dive into software delivery activity, security scan results, and testing insights: