Commit 2eaa95e3 authored by Bian Jiaping's avatar Bian Jiaping

Fix job event webhook documentation inconsistency with its actual request body

parent ce84140e
...@@ -1181,20 +1181,20 @@ X-Gitlab-Event: Job Hook ...@@ -1181,20 +1181,20 @@ X-Gitlab-Event: Job Hook
```json ```json
{ {
"object_kind": "job", "object_kind": "build",
"ref": "gitlab-script-trigger", "ref": "gitlab-script-trigger",
"tag": false, "tag": false,
"before_sha": "2293ada6b400935a1378653304eaf6221e0fdb8f", "before_sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
"sha": "2293ada6b400935a1378653304eaf6221e0fdb8f", "sha": "2293ada6b400935a1378653304eaf6221e0fdb8f",
"job_id": 1977, "build_id": 1977,
"job_name": "test", "build_name": "test",
"job_stage": "test", "build_stage": "test",
"job_status": "created", "build_status": "created",
"job_started_at": null, "build_started_at": null,
"job_finished_at": null, "build_finished_at": null,
"job_duration": null, "build_duration": null,
"job_allow_failure": false, "build_allow_failure": false,
"job_failure_reason": "script_failure", "build_failure_reason": "script_failure",
"project_id": 380, "project_id": 380,
"project_name": "gitlab-org/gitlab-test", "project_name": "gitlab-org/gitlab-test",
"user": { "user": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment