Build repository

2 minute read

The build repository is the tool that stores the build binary. CloudBees Release Orchestration SaaS supports JFrog and AWS ECR repositories.

Configuring a JFrog Artifactory repository

To configure a JFrog Artifactory build repository:

  1. From the CloudBees Release Orchestration SaaS Home page, select Admin  Settings.

  2. Select Build Repository on the left pane.

  3. Select the JFrog Artifactory Tool Type from the right pane.

    JFrog
  4. Enter a Tool Name.

  5. Select the JFrog Artifactory Tool Type from the options.

  6. Enter the Tool URL.

  7. Enter the User Name.

  8. Enter the Access Token.

    The JFrog Access Token must have:

    • A "Never Expires" configuration

    • Access to "Xray" and "Artifactory" services

    JFrog
  9. Select SAVE.

    JFrog

Your JFrog Artifactory build repository tool configuration is saved and listed on the right pane.

Configuring an AWS ECR repository

To configure an AWS ECR build repository:

  1. From the CloudBees Release Orchestration SaaS Home page, select Admin  Settings.

  2. Select Build Repository on the left pane.

  3. Select the AWS ECR Tool Type from the right pane.

    AWSECR
  4. Enter a Tool Name.

  5. Select the AWS ECR Tool Type from the options.

  6. Enter the Tool URL.

  7. Enter the Region.

  8. Enter the User Name.

  9. Enter the Access Key.

  10. Enter the Secret Key.

    AWSECR
    The AWS ECR Access Key and Secret Key must both have the above policy configured for all ECR resources.
  11. Select SAVE.

Your AWS ECR build repository tool configuration is saved and listed on the right pane.

Updating or deleting a build repository

On the right pane, you can also edit and delete any build repository tool configuration.

To edit a build repository tool configuration:

  1. From the CloudBees Release Orchestration SaaS Home page, select Admin  Settings.

  2. Select Build Repository on the left pane.

  3. Select a build repository tool from the right pane.

  4. Make any updates.

  5. Select Update.

Your build repository tool configuration is updated.

To delete a build repository tool configuration:

  1. From the CloudBees Release Orchestration SaaS Home page, select Admin  Settings.

  2. Select Build Repository on the left pane.

  3. Select a build repository tool from the right pane.

  4. Select the trash can icon.

  5. Select DELETE.

    Delete

Your build repository tool configuration is deleted.

Select RESET to clear your selection at any time.

Configuring JFrog webhooks

Using a JFrog webhook, CloudBees Release Orchestration SaaS can integrate with automated notifications, thus enabling pipelines to work seamlessly. JFrog Artifactory can process events associated with Build, Docker image, or Artifact.

To configure JFrog webhooks:

  1. From the CloudBees Release Orchestration SaaS Home page, select Admin  Settings.

  2. Select Build Repository on the left pane.

  3. Select the JFrog Artifactory Tool Type from the right pane.

    Webhooks
  4. Enter a Repo Config Name

  5. Select a Repo Config Type from the options.

    • Select an Event Type from the options.

      EventType
  6. For an Artifact or Docker Event Type, enter the Repo Name and an optional Artifact Location.

  7. For a Build Event Type, enter the Build Name.

  8. To add or remove a webhook configuration, select + or -, respectively.

  9. Select SAVE.

Your webhook configuration in the JFrog build repository is saved and listed on the right pane.