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:
-
From the CloudBees Release Orchestration SaaS Home page, select .
-
Select Build Repository on the left pane.
-
Select the JFrog Artifactory Tool Type from the right pane.
Figure 1. Configuring a JFrog Artifactory build repository -
Enter a Tool Name.
-
Select the JFrog Artifactory Tool Type from the options.
-
Enter the Tool URL.
-
Enter the User Name.
-
Enter the Access Token.
The JFrog Access Token must have:
-
A "Never Expires" configuration
-
Access to "Xray" and "Artifactory" services
Figure 2. JFrog access token configuration -
-
Select SAVE.
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:
-
From the CloudBees Release Orchestration SaaS Home page, select .
-
Select Build Repository on the left pane.
-
Select the AWS ECR Tool Type from the right pane.
Figure 3. AWS ECR configuration -
Enter a Tool Name.
-
Select the AWS ECR Tool Type from the options.
-
Enter the Tool URL.
-
Enter the Region.
-
Enter the User Name.
-
Enter the Access Key.
-
Enter the Secret Key.
Figure 4. AWS ECR Access Key and Secret Key policyThe AWS ECR Access Key and Secret Key must both have the above policy configured for all ECR resources. -
Select SAVE.
Your AWS ECR build repository tool configuration is saved and listed on the right pane.
Updating a configuration
You can update the build repository configuration.
Select RESET to clear your selection at any time. |
To update your build repository configuration:
-
From the CloudBees Release Orchestration SaaS Home page, select .
-
Select Build Repository on the left pane.
-
Select a configuration on the right pane.
-
Make any updates.
-
Select Update.
Your build repository configuration is updated.
Deleting a configuration
To delete your build repository configuration:
-
From the CloudBees Release Orchestration SaaS Home page, select .
-
Select Build Repository on the left pane.
-
Select a configuration on the right pane.
-
Select
Delete.
-
Select DELETE.
Your build repository configuration is deleted.
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:
-
From the CloudBees Release Orchestration SaaS Home page, select .
-
Select Build Repository on the left pane.
-
Select the JFrog Artifactory Tool Type from the right pane.
-
Enter a Repo Config Name
-
Select a Repo Config Type from the options.
-
Select an Event Type from the options.
Figure 5. Event types
-
-
For an Artifact or Docker Event Type, enter the Repo Name and an optional Artifact Location.
-
For a Build Event Type, enter the Build Name.
-
To add or remove a webhook configuration, select + or -, respectively.
Figure 6. Configuring a webhook in the JFrog build repository -
Select SAVE.
Your webhook configuration in the JFrog build repository is saved and listed on the right pane.