diff options
author | Bian Jiaping <ssbianjp@gmail.com> | 2019-09-11 22:33:45 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-09-11 22:33:45 +0300 |
commit | 9c0e2d5b47c09eba83c3f73d4b01e2b27378cb4d (patch) | |
tree | 1badc87a7dfc63d4cb1b53c120e1dbb6ef0dbde4 /doc | |
parent | 3fb68248921b6002f55f2b1f8c97ed1aaf9600d6 (diff) |
Add source and merge_request fields to pipeline event webhook
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/integrations/webhooks.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/user/project/integrations/webhooks.md b/doc/user/project/integrations/webhooks.md index 211bbdc2bb9..b508d904606 100644 --- a/doc/user/project/integrations/webhooks.md +++ b/doc/user/project/integrations/webhooks.md @@ -1001,6 +1001,7 @@ X-Gitlab-Event: Pipeline Hook "tag": false, "sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2", "before_sha": "bcbb5ec396a2c0f828686f14fac9b80b780504f2", + "source": "merge_request_event", "status": "success", "stages":[ "build", @@ -1017,6 +1018,18 @@ X-Gitlab-Event: Pipeline Hook } ] }, + "merge_request": { + "id": 1, + "iid": 1, + "title": "Test", + "source_branch": "test", + "source_project_id": 1, + "target_branch": "master", + "target_project_id": 1, + "state": "opened", + "merge_status": "can_be_merged", + "url": "http://192.168.64.1:3005/gitlab-org/gitlab-test/merge_requests/1" + }, "user":{ "name": "Administrator", "username": "root", |