NewBuildkite hosted agents. Check out the Q1 Release for the latest features, including managed CI/CD offerings for Mac and Linux.

Update

Webhook payloads now include an event property

If you’ve tried processing Buildkite webhooks :webhook: with AWS Lambda :aws-lambda: and Google Cloud Functions :googlecloud: you'll know dealing with HTTP headers can sometimes be more painful than dealing with plain old JSON body properties.

To simplify the job of Buildkite webhook integration we’ve added the event name to the JSON payload body itself—you no longer need extra code to handle HTTP headers 🎉

We’ve updated all the webhooks examples with the new event property. For example, the build.finished webhook now looks like this:

{ "event": "build.finished", "build": { "..": "..." }, "sender": { "...": "..." } }

We’ve also updated the API overview to clarify when to pass query string parameters and when to send JSON request bodies. The docs for each endpoint explain exactly what is expected :json:

We hope these changes bring a little less 😣 a little more 😺 when you’re working on Buildkite API integrations 💚

Tim