Bitbucket Cloud
How to connect a Polaris project to a repository in Bitbucket Cloud.
Prerequisites
Create a Bitbucket API token
-
Select the Settings gear icon in the upper-right corner of the top navigation bar.
-
Under Personal settings, select Atlassian account settings.
-
From the Atlassian Account page, select the Security tab on the top navigation bar.
-
Select Create and manage API tokens.
-
Select Create API token with scopes.
-
Give the API token a name and an expiry date. 365 days is recommended, select Next.
-
Select Bitbucket as the app and select Next.
-
Select the scopes section Read. Select read:repository:bitbucket and select Next.
-
Select the Create token button. The page will display the New API token.
-
Copy the generated API token and store.
Connect to a repository in Bitbucket Cloud
Next steps
Now, you can 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).
