summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBian Jiaping <ssbianjp@gmail.com>2019-08-29 19:47:41 +0800
committerBian Jiaping <ssbianjp@gmail.com>2019-08-29 19:48:49 +0800
commit2eaa95e3a6f73bd7c009c4654b950ca5bda5a866 (patch)
tree0a56293f7916e00e6ef72fbbb401c4bcb2968fa9
parentce84140e8b878ce6e7c4d298c7202ff38170e3ac (diff)
downloadgitlab-ce-2eaa95e3a6f73bd7c009c4654b950ca5bda5a866.tar.gz
Fix job event webhook documentation inconsistency with its actual request body
-rw-r--r--doc/user/project/integrations/webhooks.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/user/project/integrations/webhooks.md b/doc/user/project/integrations/webhooks.md
index 84adb9637fc..ed0458ebc0f 100644
--- a/doc/user/project/integrations/webhooks.md
+++ b/doc/user/project/integrations/webhooks.md
@@ -1181,20 +1181,20 @@ X-Gitlab-Event: Job Hook
```json
{
- "object_kind": "job",
+ "object_kind": "build",
"ref": "gitlab-script-trigger",
"tag": false,
"before_sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
"sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
- "job_id": 1977,
- "job_name": "test",
- "job_stage": "test",
- "job_status": "created",
- "job_started_at": null,
- "job_finished_at": null,
- "job_duration": null,
- "job_allow_failure": false,
- "job_failure_reason": "script_failure",
+ "build_id": 1977,
+ "build_name": "test",
+ "build_stage": "test",
+ "build_status": "created",
+ "build_started_at": null,
+ "build_finished_at": null,
+ "build_duration": null,
+ "build_allow_failure": false,
+ "build_failure_reason": "script_failure",
"project_id": 380,
"project_name": "gitlab-org/gitlab-test",
"user": {