Skip to main content

BitBucket Source Control

Stack Automation supports connecting asset/blueprint repositories on BitBucket out of the box. However, to connect a repository, you must have access to the repository and grant Stack Automation permission to the repository's organization, as explained below. For details about connecting a repository, see Discover Your Assets. You should be able to sign in with an account on any one of these online services and immediately get going with connecting asset repositories and launching deployments.

This article refers to the SAAS version of BitBucket. If you're using self-hosted BitBucket, check here.

When connecting a repository, Stack Automation’s OAuth app (Stack Automation Control Plane) asks for permissions to access repositories on your organization. If Stack Automation doesn't have access, you will be prompted to grant the proper authorizations when connecting the asset repository. The approved applications are listed in the Bitbucket Applications page.

  1. In Stack Automation, go to the space's Settings > Repositories area and connect the repository.

  2. Authorize the organization Quali Stack Automation

    Locale Dropdown

  3. Go to Azure Applications (see above) and make sure the Stack Automation application has been authorized.

    Locale Dropdown

At this point, the Stack Automation app was given the necessary permissions to the organization.

  1. Return to Stack Automation and continue setting up the connection.