You can set an outgoing webhook as part of your continuous integration jobs in Gearset. This will be done within the settings of your CI jobs. Instructions on how to do so can be found 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 — - stringthat can be- Error,- Succeeded, or- Failed.
- Run type — - stringthat can be- Deploymentor- Validation.
- Run start date — - stringin- ISO 8601format- datetime UTC.
- Run end date — - stringin- ISO 8601format- datetime UTC.
 
If you have any questions about setting up your outgoing webhooks, please reach out to our team using the in-app chat.

