Onboard

4 minute read

Welcome to the CloudBees platform!

Sign up using Google social or GitHub OAuth credentials, or sign up by entering an email and password. Refer to Users for detailed information on setting up an account.

Once you have created an account, go to your email, open the invitation email with subject line CloudBees Email Verification, and select Verify. Alternatively, you can copy and paste the available link into your browser.

For more information on all types of CloudBees platform accounts, refer to Users and Teams.

Choose a pathway

Once you are signed in to the CloudBees platform, choose one of the following:

Onboarding choices
Figure 1. Select a pathway to onboard.

Run a sample workflow

Choose Run a sample workflow to connect a repository of your choice and set up a workflow that includes a security scan on the source code. For further examples, refer to:

To run a sample workflow:

  1. Select a source code management provider from the options.

  2. Select an integration type. Refer to create an SCM integration for more information.

  3. Follow the instructions at the provider to connect your repository to the CloudBees platform.

    Install GitHub App
    Figure 2. Completing the GitHub App installation.
  4. Create a component by:

    1. Select a connected repository from the options.

    2. (Optional) Update the component name from the default, which is the repository name with any symbols converted to underscores (_).

    3. (Optional) Enter a description.

    4. Select Create component.

  5. Select Open workflow to display the proposed workflow, which includes:

    1. A step to check out the repository.

    2. A SonarQube SAST scan of the repository code, with automatic language detection.

      Proposed Go workflow
      Figure 3. A sample Go app workflow with scan.
  6. (Optional) Make any desired updates, either in the workflow composer code editor, or by using the visual tool. By default, the workflow trigger is set to push.

    Refer to Managing workflows to learn more about:

    • Using the workflow composer, both the code editor and the visual tool.

    • Using different trigger options.

    • Adding and updating workflow steps and jobs.

  7. Save and run the workflow:

    1. Select Commit.

    2. Enter a commit message.

    3. Select to commit to either:

      • The current branch.

      • A new branch (and enter a new branch name).

    4. Select Finish.

      Select menu items on the left pane to display:

      Select Arrow up/down icon or Arrow down icon to display nested functionality.

      Main navigation
      Figure 4. Main menu with Runs selected.

The Run a sample workflow path is completed accordingly. Select Runs, and then select your run to display the results.

Run details

Run details provides a comprehensive summary of each run executed in the CloudBees platform, including logs of each workflow step, any evidence generated for compliance requirements, and results of any tests run as part of the workflow.

To access the details of a run, select the commit name, or in the case of a manual trigger, the workflow name, of a run from the Runs summary.

Run details screen top information
Figure 5. Example information at the top of Run details.

The example above displays the following information in Run details:

  1. Repository and branch names.

  2. Run management options:

    • Select Rerun workflow to rerun a workflow without a commit (within 7 days of the original run).

    • Select New run to run a workflow without a commit (manual trigger only).

    • Select Stop run to cancel a run while it is executing.

  3. The run number and the status:

    • Processing

    • Successful

    • Failed

  4. Triggered by: If the run is manually triggered, the user who triggered it is named.

  5. Run times:

    • Start date and time

    • End date and time

    • Duration

  6. Two views:

    • The Jobs view displays the workflow steps, the logs, and any evidence generated.

    • The Test results view displays results of testing performed during the run.

The Jobs view in Run details displays an overview of the workflow steps and detailed logs for each step. If a job has been configured to generate evidence, the evidence is also displayed.

Select the Composer icon to display/hide the workflow composer visual tool.

To access the logs for a run:

  1. Select the commit name, or in the case of a manual trigger, the workflow name, of a run from Runs.

  2. Select the Jobs tab, and then select the Logs tab.

The run log is displayed accordingly.

Run logs
Figure 6. Example run with log details.

As in the example above, Logs includes the following options:

  1. Select Composer icon to display/hide the workflow composer visual tool.

  2. Select the Logs tab to display the logs.

    To display published evidence data, select the Evidence tab.

    In the Logs view:

  3. Enter text to Search within the log. Select Select up icon and Select down icon to step through the log and highlight found instances. Select to clear the search.

  4. Select Expand all/Collapse to expand/collapse logs for all steps.

  5. Select Vertical ellipsis, and then:

    • Select Show timestamps or Hide timestamps to display or hide, respectively, the timestamp next to each log line number.

    • Select Download log to download a compressed archive file of the log.

  6. Select Arrow down icon next to any run step to display its log.

  7. Select Go to end to scroll down to the end of a step log or the list of steps.

Use CI Insights for Jenkins

Choose CI insights for Jenkins to manage all of your automation in a single dashboard.

To use CI insights for Jenkins:

  1. Select a CI tool from the options.

    Three CI tools
    Figure 7. Integrate three different kinds of CI tools.
  2. Connect your CI tool to the platform using the instructions. Refer to CI tools integration for more information.

    1. Install the required plugin(s).

    2. Copy and paste the authentication code into your CI tool.

      Copy the code
      Figure 8. Select the highlighted icon to copy the authentication code.

Once you have copied and saved the authentication code into your CI tool, you are redirected to the CI insights for Jenkins dashboard.

You may not immediately see ingested data displayed.

To learn more about the dashboard details, refer to the Analytics documentation.

Skip onboarding

To dive immediately into working with the CloudBees platform, select Skip onboarding at any time.