Bitbucket

This guide explains how to connect Qodo Aware to Bitbucket Data Center.


Prerequisites

  1. Bitbucket Data Center instance (Customer). Must be version 8.X.X (does not work on 9.X.X).

  • App uploading is enabled: Go to settings, then select Manage apps. Make sure Upload app link is visible.

To enable app installation in the bitbucket.properties file, set the property: upm.plugin.upload.enabled=true.


1. App Installation

  1. Download the Qodo app file: Please contact Qodo Support for the file.

  2. Install the Qodo App: Go to settings, then select Manage apps. Click the Upload app link and choose to Select jar file. Select the Qodo app file you've downloaded previously.

  3. Define Access token:

    1. Login to Bitbucket as system administrator.

    2. Click your profile picture then choose Manage account. Select http access token then add token.

    3. Give the token a meaningful name.

    4. Under Project permissions, choose the Project write permissions.

    5. Under Repository permissions, choose the Repository write (inherited) permissions.

    6. Copy the token and save it for later.

  4. Check out your Qodo app: Your Qodo app is ready. You can see it at the Administration section.

    Each Qodo tool has a configuration tab in the app. Use the connection section to define the URL of your Qodo tool. Use the Repositories section to select the repositories integrated into Qodo Aware.


2. Send relevant information to Qodo

After the setup, share the following credentials with the Qodo team:

[bitbucket_data_center] # or Bitbucket Cloud

base_url = "https://your-bbdc-instance.com" # url of your bbdc instance

webhook_secret = "mysecret" # the secret you wrote in the Qodo BBDC app for the tool. Currently Company Codebase does not support any webhooks, so this setting is optional

bearer_token = "BBDC-mytoken" # the token you created in the BBDC instance for Qodo

Last updated

Was this helpful?