Explain that web hook URL includes folders

This commit is contained in:
John McGehee 2016-09-12 16:23:25 -07:00 committed by GitHub
parent 50f0fcebf0
commit cd414e09ee
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ GitLab 8.1 has implemented a commit status api, you need an extra post-build ste
* In GitLab go to you repository's project *Settings*
* Click on *Web Hooks*
* Add a Web Hook for *Merge Request Events* and *Push Events* to ``http://JENKINS_URL/project/PROJECT_NAME``. Note that ``PROJECT_NAME`` is the name of the Jenkins job you want to trigger, not the GitLab project name.
* Add a Web Hook ``http://JENKINS_URL/project/PROJECT_NAME`` for for *Merge Request Events* and *Push Events*. Here, ``PROJECT_NAME`` is the name of the Jenkins project you want to trigger, including [Jenkins folders](https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin).
* Add a post-build step ``Publish build status to GitLab commit (GitLab 8.1+ required)`` to the job.
* For pipeline jobs surround your build step with the gitlabCommitStatus step like this: