You can set an outgoing webhook as part of continuous integration jobs in Gearset. This is documented here.
The standard payload available for CI outgoing webhooks contains information about the CI job and run.
Example payload format
{
"job": {
"name": "dev to uat"
},
"run": {
"status": "Succeeded",
"type": "Deployment",
"start_date_utc": "2020-02-24T16:37:41.899337Z",
"end_date_utc": "2020-02-24T16:39:06.689647Z",
}
}
We include the X-Gearset-Event
header to specify which event the outgoing webhook was triggered by. For continuous integration job runs, this is set to ci_job_run
.
Payload format
In the standard payload we provide the following:
Job name —
string
.Run status —
string
that can beError
,Succeeded
, orFailed
.Run type —
string
that can beDeployment
orValidation
.Run start date —
string
inISO 8601
formatdatetime UTC
.Run end date —
string
inISO 8601
formatdatetime UTC
.
If you have any questions about setting up your outgoing webhooks, please reach out to our team using the in-app chat.