Skip to main content

Data sync

Buildkite notifies Unblocked through a webhook as soon as a build finishes — there is no polling schedule or sync delay. When a build fails, the CI Failure Agent analyzes the failure immediately and posts its report to the pull request once analysis completes.

Connect Buildkite

To connect Buildkite to Unblocked, follow these steps:
1

Add a CI Provider

In the left sidebar, click on Settings, then Continuous Integration. Then click on Add a CI platform.
2

Connect Buildkite

Click on the Buildkite tile.CI Add
3

Authorize Your Buildkite Account

  • Create a new API Access Token in Buildkite:
  • Enter “Unblocked” as the Description.
  • Choose the appropriate organization in Organization Access.
  • Select the following REST API Scopes:
    • read_build_logs
    • read_builds
    • read_organizations
    • read_pipelines
    • read_user
  • Copy the following CIDR ranges into Allowed IP Addresses:
    • 34.212.246.90/32
    • 44.235.109.70/32
    • 44.236.252.193/32
    • 52.88.232.82/32
  • Click Create New API Access Token. Buildkite token
4

Add a Buildkite Webhook

  • Go to the Notification Services page.
  • Click Add Webhook.
  • In the description field, enter “Unblocked”.
  • Copy and Paste the Webhook URL and Token from Unblocked into the corresponding fields in Buildkite.
  • Select the following event:
    • build-finished
  • Ensure that All Pipelines are selected.
  • Leave Branch filtering blank.
  • Click Add Webhook Notification.
5

Select Repositories

Toggle the repositories you want to enable by selecting them.
6

Done

Click Save Settings to apply your changes. Now Unblocked will analyze Buildkite failures in the selected repositories and post reports to pull requests.