Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-08-29 19:02:45 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-08-29 19:02:45 +0300
commite6869b8f6c5a589cc9807e2a797599fb7a4a968e (patch)
treec292958e717489a2222d7d93233f0b3743121f1e
parent61528372d23c4cdb4b8061db41aa93b32a2844ab (diff)
parent2eaa95e3a6f73bd7c009c4654b950ca5bda5a866 (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.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": {