diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-20 15:12:07 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-20 15:12:07 +0000 |
commit | 7f78a78a36a4341680a71afa5a12a1f4d4876c66 (patch) | |
tree | 91cfff5c3c9f6a118d69df5e2816b7461ce2ccc5 /doc | |
parent | 020b6a0be06614815d96854084f3dcafeefcf0b7 (diff) | |
parent | e0ab5618a0998175df9f90c95ebd35d7afa01db7 (diff) | |
download | gitlab-ce-7f78a78a36a4341680a71afa5a12a1f4d4876c66.tar.gz |
Merge branch '5971-webhook-testing' into 'master'
Wrong data type when testing webhooks
Closes #5971
See merge request !11728
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/integrations/img/webhook_testing.png | bin | 0 -> 191267 bytes | |||
-rw-r--r-- | doc/user/project/integrations/webhooks.md | 9 |
2 files changed, 8 insertions, 1 deletions
diff --git a/doc/user/project/integrations/img/webhook_testing.png b/doc/user/project/integrations/img/webhook_testing.png Binary files differnew file mode 100644 index 00000000000..176dcec9d8a --- /dev/null +++ b/doc/user/project/integrations/img/webhook_testing.png diff --git a/doc/user/project/integrations/webhooks.md b/doc/user/project/integrations/webhooks.md index 023c6932e41..c03a2df9a72 100644 --- a/doc/user/project/integrations/webhooks.md +++ b/doc/user/project/integrations/webhooks.md @@ -1014,6 +1014,13 @@ X-Gitlab-Event: Build Hook } ``` +## Testing webhooks + +You can trigger the webhook manually. Sample data from the project will be used.Sample data will take from the project. +> For example: for triggering `Push Events` your project should have at least one commit. + +![Webhook testing](img/webhook_testing.png) + ## Troubleshoot webhooks Gitlab stores each perform of the webhook. @@ -1056,7 +1063,7 @@ Pick an unused port (e.g. 8000) and start the script: `ruby print_http_body.rb 8000`. Then add your server as a webhook receiver in GitLab as `http://my.host:8000/`. -When you press 'Test Hook' in GitLab, you should see something like this in the +When you press 'Test' in GitLab, you should see something like this in the console: ``` |