CircleCI Integration
CircleCI is a continuous integration and continuous delivery platform that can be used to implement DevOps practices.
You can use our CircleCI integration to route details events from CircleCI to the right users in Incident Response.
How to integrate CircleCI with Incident Response
In Incident Response: Using CircleCI as an Alert Source
-
Navigate to Services -> Service Overview -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click Add.
-
Select CircleCI. Copy the displayed Webhook URL to configure it within CircleCI. Finish by clicking Add Alert Source -> Done.
When an alert source turns Active, it’ll show up under Configured Alert Sources. You can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source.
An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
In CircleCI: Create a Incident Response Webhook Alert
-
Log in to your CircleCI dashboard. Navigate to the Projects section, click ... and select Project Settings
-
Under the Project Settings, navigate to the Webhooks section. Then click on Add Webhook
-
Put in the Webhook name and paste the previously copied Incident Response Webhook URL in the Receiver URL placeholder.
Check the checkbox for both the Events - Workflow Completed & Job Completed
That's it, you are good to go! Your CircleCI integration is now complete.
-
Whenever CircleCI fires an alert, an incident will be created in Incident Response for it.
-
Once the Success alert is sent, it will automatically be resolved in Incident Response.