Learn more about Streama© – the foundational technology behind our stateful streaming data platform. Learn More

Bitbucket Version Tags

Integrate Coralogix with your Bitbucket Deployment Pipelines

Note: This document includes cluster dependent URL’s. Please refer to the following table to select the correct Coralogix Bitbucket Version Tags API endpoint for your Coralogix Portal domain’s extension (.com/.us/.in):

ClusterBitbucket Tags Endpoint
.comhttps://webapi.coralogix.com/api/v1/external/bitbucket/
.ushttps://webapi.coralogix.us/api/v1/external/bitbucket/
.inhttps://webapi.app.coralogix.in/api/v1/external/bitbucket/

Coralogix supports integration with Bitbucket webhooks, which can be used to inform Coralogix when a new build has been issued.

Configuration Steps:

  1. Log into Bitbucket using your user credentials.
  2. Click your desired Repository to select it.
  3. Click “Repository settings” on the left.
  4. Under General \ Repository details, click “Webhooks”.
  5. Click “Add webhook”.
  6. Add a Title (for example: “Coralogix builds”).
  7. In the URL box, you will enter the link corresponding to the Coralogix Bitbucket Version Tags endpoint for your cluster (as described in the note above).

The URL will include the following information:

  • API Endpoint.
  • Alerts, Rules and Tags API Key.
    (You can get this key from “https://<YourCoralogixPortalHere>/#/settings/account/api_key”,
    or by clicking your Team’s icon on the top right of the UI followed by:
    Settings –> Account –> API Access –> Alerts, Rules and Tags API Key).
  • Application Name:
    Enter your desired Application name. Please use a name corresponding to your logs “Application” name.
  • Subsystem Name:
    Enter your desired Subsystem name. Please use a name corresponding to your logs “Subsystem” name.
    You can specify more than 1 Subsystem name, separated by a commas.
  • Tag Name.

For example:

https://webapi.coralogix.com/api/v1/external/bitbucket/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx?application=bitbucket&subsystem=build-tag-test&name=bitbucket-tag-test

(Please note the question mark ‘?’ immediately after the API key. You could copy and paste this example,
and replace the API Endpoint, Alerts and Tags API Key, and additional parameters with your own values).

  1. Under “Triggers”, please select Build status updated”.
  1. On the right bottom, please click “Save”.