Obtain an API token
Before sending events from Buildkite, contact Cortex XCOR Support to obtain an API token to authenticate with Cortex XCOR.This API token differs from an API token that’s generated when you create
a service account.
Create a Buildkite webhook
To send Buildkite events to Cortex XCOR:-
In Buildkite, go to
https://buildkite.com/organizations/COMPANY/servicesand create a webhook. ReplaceCOMPANYwith the name of your company or organization. - Click Add Webhook to define a webhook.
- Enter a description for the webhook, such as Cortex XCOR Buildkite.
-
In the URL field, enter
https://TENANT.chronosphere.io/api/v1/data/events/receiver/buildkite. - In the Token field, enter the API token you obtained from Cortex XCOR Support.
- Select Send an HMAC signature.
-
Select one or more of the following options for your webhook:
- build.finished
- build.running
- build.scheduled
- Select which pipelines you want to enable events for.
- Save your webhook.