Integrate a Bitbucket Repository (Cloud-hosted)

How to integrating a single Bitbucket repository to a project.

Steps for Integrating a Bitbucket Repository (Cloud) to a Project

This allows you to select the repository when creating a new test for the project (see How to test from the web UI). Only one repository can be used per project.
  1. From Application, select a Project and navigate to Settings > Integrations.
  2. Select Cloud-hosted.
  3. Select the source of your repository: Bitbucket.
  4. Enter the Repository URL.
    To obtain the repository 's URL, open your Bitbucket project, click the Clone button, and copy the HTTPS URL (SSH is not supported) starting at https.


  5. Enter the Application Password.

    To create:

    1. Go to Settings > Personal Bitbucket settings.

    2. Under Access Management in left panel, select App passwords, then click Create app password.

    3. Add Label > Enter a name for the app password in the Label field. Select Permissions. Polaris requires Read access to project/repositories. Click Create.

    4. Copy the app password and paste it into the Application password field in Polaris.

      Note: Keep your app password. Due to security reasons, if you change any of your repository settings, you may need to enter your password again.
  6. Click Test your Connection. A spinning circle indicates the test is in progress.
  7. If your connection test is unsuccessful, check the following and retry:
    1. Your network connection is stable.
    2. Check the Repository URL and Access Token to make sure they are accurate.
    3. Check that the app password is still valid. It can be revoked from Settings > Personal Bitbucket settings > App passwords.
    4. Check that you selected the correct provider type of server for your source repository.
  8. If your connection is successful, click Save.
You can then scan on demand (see How to test from the web UI) or schedule automatic testing on a daily or weekly basis (see Test scheduling policies).
Note: From the Tests screen, before beginning a test manually, make sure to test the connection.