diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-04 09:06:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-04 09:06:33 +0000 |
commit | c4038d4bdff93b260cbdcd69f9a6c0b07a849457 (patch) | |
tree | 7b74ce5a60a97324dec5c61ac477ca74e3db36e9 /doc/integration | |
parent | d07169c8ae0ebad0f23d03f01aeaf9acfa7e02d1 (diff) | |
download | gitlab-ce-c4038d4bdff93b260cbdcd69f9a6c0b07a849457.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/integration')
-rw-r--r-- | doc/integration/jenkins.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/integration/jenkins.md b/doc/integration/jenkins.md index a54f6843c53..32816652ed5 100644 --- a/doc/integration/jenkins.md +++ b/doc/integration/jenkins.md @@ -135,3 +135,32 @@ configured or there was an error reporting the status via the API. 1. [Configure the Jenkins server](#configure-the-jenkins-server) for GitLab API access 1. [Configure a Jenkins project](#configure-a-jenkins-project), including the 'Publish build status to GitLab' post-build action. + +### Merge Request event does not trigger a Jenkins Pipeline + +Check the **/var/log/gitlab/gitlab-rails/production.log** file for messages like: + +```plaintext +WebHook Error => Net::ReadTimeout +``` + +or + +```plaintext +WebHook Error => execution expired +``` + +If those are present, the request is exceeding the +[webhook timeout](../user/project/integrations/webhooks.md#receiving-duplicate-or-multiple-webhook-requests-triggered-by-one-event), +which is set to 10 seconds by default. + +To fix this the `gitlab_rails['webhook_timeout']` value will need to be increased +in the `gitlab.rb` config file, followed by the [`gitlab-ctl reconfigure` command](../administration/restart_gitlab.md). + +If you don't find the errors above, but do find *duplicate* entries like below (in **/var/log/gitlab/gitlab-rail**), this +could also indicate that [webhook requests are timing out](../user/project/integrations/webhooks.md#receiving-duplicate-or-multiple-webhook-requests-triggered-by-one-event): + +``` +2019-10-25_04:22:41.25630 2019-10-25T04:22:41.256Z 1584 TID-ovowh4tek WebHookWorker JID-941fb7f40b69dff3d833c99b INFO: start +2019-10-25_04:22:41.25630 2019-10-25T04:22:41.256Z 1584 TID-ovowh4tek WebHookWorker JID-941fb7f40b69dff3d833c99b INFO: start +``` |