diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-08-29 19:02:45 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-08-29 19:02:45 +0300 |
commit | e6869b8f6c5a589cc9807e2a797599fb7a4a968e (patch) | |
tree | c292958e717489a2222d7d93233f0b3743121f1e | |
parent | 61528372d23c4cdb4b8061db41aa93b32a2844ab (diff) | |
parent | 2eaa95e3a6f73bd7c009c4654b950ca5bda5a866 (diff) |
Merge branch 'fix-job-webhook-documentation' into 'master'
Fix job event webhook documentation inconsistency with its actual request body
See merge request gitlab-org/gitlab-ce!32390
-rw-r--r-- | doc/user/project/integrations/webhooks.md | 20 |
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": { |