BitBucket
Last updated
Last updated
To configure the BitBucket integration, follow these steps (either during the onboarding wizard, or once you have access to the Gomboc platform):
Go to Settings > Integrations > BitBucket
Click on your profile drop down in the top right corner and access your Gomboc settings and create a personal or workspace token.
Once the Gomboc token is created copy the generated token.
Click on the BitBucket integration button to open the form for creating the integration
Paste in the generated Gomboc token under the input Gomboc Access Token
In BitBucket, go to your workspace settings to create an access token Workspace Access Token that has Repositories (Read & Write), Pull requests (Read & Write), and Webhooks (Read & Write) permissions. Once generated, copy the workspace access token. Also keep in mind the workspace ID, which can be found within your workspace settings as well.
You can now complete the integration form by inputting your Workspace ID and copied workspace access token from BitBucket
3. Click "Integrate" to complete the initial SCM integration. Please note that we do create a workspace webhook to complete the integration and keep track of PR's that we have opened.
A BitBucket pipeline can use the following yaml to run the Gomboc CLI on every pull request to main, will only try to remediate directories with code differences