Job webhook events

Events

job.scheduled A command step job has been scheduled to run on an agent
job.started A command step job has started running on an agent
job.finished A job has finished
job.activated A block step job has been unblocked using the web or API

Request body data

job The Job this notification relates to
build The Build this notification relates to
pipeline The Pipeline this notification relates to
sender The user who created the webhook

Example request body:

{
  "event": "job.started",
  "job": {
    "...": "..."
  },
  "build": {
    "...": "..."
  },
  "pipeline": {
    "...": "..."
  },
  "sender": {
    "id": "8a7693f8-dbae-4783-9137-84090fce9045",
    "name": "Some Person"
  }
}