diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 03:08:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-03 03:08:30 +0000 |
commit | f4d27d532e3abeecd1caffeb3a56e698ae982e5b (patch) | |
tree | 27a1b43761cd6eedbdbf57b46b8fd9c5cc519a61 /doc/user/project/integrations/webhooks.md | |
parent | a2a712139fc7fa58aa02b143f2767286d28ef28d (diff) | |
download | gitlab-ce-f4d27d532e3abeecd1caffeb3a56e698ae982e5b.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/project/integrations/webhooks.md')
-rw-r--r-- | doc/user/project/integrations/webhooks.md | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/user/project/integrations/webhooks.md b/doc/user/project/integrations/webhooks.md index 79cda9a045e..214993f9e2a 100644 --- a/doc/user/project/integrations/webhooks.md +++ b/doc/user/project/integrations/webhooks.md @@ -126,7 +126,7 @@ Also, if a single push includes changes for more than three (by default, dependi **Request header**: -``` +```plaintext X-Gitlab-Event: Push Hook ``` @@ -213,7 +213,7 @@ If a single push includes changes for more than three (by default, depending on **Request header**: -``` +```plaintext X-Gitlab-Event: Tag Push Hook ``` @@ -267,7 +267,7 @@ Triggered when a new issue is created or an existing issue was updated/closed/re **Request header**: -``` +```plaintext X-Gitlab-Event: Issue Hook ``` @@ -402,7 +402,7 @@ Valid target types: **Request header**: -``` +```plaintext X-Gitlab-Event: Note Hook ``` @@ -482,7 +482,7 @@ X-Gitlab-Event: Note Hook **Request header**: -``` +```plaintext X-Gitlab-Event: Note Hook ``` @@ -609,7 +609,7 @@ X-Gitlab-Event: Note Hook **Request header**: -``` +```plaintext X-Gitlab-Event: Note Hook ``` @@ -714,7 +714,7 @@ X-Gitlab-Event: Note Hook **Request header**: -``` +```plaintext X-Gitlab-Event: Note Hook ``` @@ -790,7 +790,7 @@ Triggered when a new merge request is created, an existing merge request was upd **Request header**: -``` +```plaintext X-Gitlab-Event: Merge Request Hook ``` @@ -951,7 +951,7 @@ Triggered when a wiki page is created, updated or deleted. **Request Header**: -``` +```plaintext X-Gitlab-Event: Wiki Page Hook ``` @@ -1007,7 +1007,7 @@ Triggered on status change of Pipeline. **Request Header**: -``` +```plaintext X-Gitlab-Event: Pipeline Hook ``` @@ -1215,7 +1215,7 @@ Triggered on status change of a job. **Request Header**: -``` +```plaintext X-Gitlab-Event: Job Hook ``` @@ -1328,7 +1328,7 @@ If the endpoint doesn't send its HTTP response within those 10 seconds, GitLab m If you are receiving multiple requests, you can try increasing the default value to wait for the HTTP response after sending the webhook by uncommenting or adding the following setting to your `/etc/gitlab/gitlab.rb`: -``` +```ruby gitlab_rails['webhook_timeout'] = 10 ``` @@ -1370,7 +1370,7 @@ Pick an unused port (e.g. 8000) and start the script: `ruby print_http_body.rb When you press 'Test' in GitLab, you should see something like this in the console: -``` +```plaintext {"before":"077a85dd266e6f3573ef7e9ef8ce3343ad659c4e","after":"95cd4a99e93bc4bbabacfa2cd10e6725b1403c60",<SNIP>} example.com - - [14/May/2014:07:45:26 EDT] "POST / HTTP/1.1" 200 0 - -> / |