Skip to content
BLAZLE
Start free
Back to docs

Installation Methods

Bitbucket Cloud

Blazle Anvil scans every pull request in a Bitbucket Cloud workspace before it can be merged.

Before you start

  • An Owner or Admin of the BLAZLE workspace.
  • A workspace or repository access token with repository, pull request and webhook permissions.

Connect

  1. Open Integrations, enter the workspace slug and the token, then Connect.
  2. The webhook URL and secret are shown once.
  3. Click Show repositories, then Add webhook on each repository.
URL:    https://api.blazle.io/api/v1/integrations/bitbucket/webhook/<WORKSPACE_ID>
Events: pullrequest:created, pullrequest:updated
Signed: X-Hub-Signature: sha256=<HMAC-SHA256(secret, body)>

What happens on a pull request

  • Open pull requests are scanned when created and on every update.
  • The result always appears in Intercepts, with Bitbucket as the source.
  • With Scan new changes on, a blocked pull request gets a comment.
  • With Hard block on, BLAZLE sets the build status BLAZLE. Require passing builds in your merge checks to stop the merge.