Job webhook events
Events
Event | Description |
---|---|
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
Property | Type | Description |
---|---|---|
job |
Job | The job this notification relates to |
build |
Build | The build this notification relates to |
pipeline |
Pipeline | The pipeline this notification relates to |
sender |
String | 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"
}
}