Adapt README to be more clear about the gitlabCommitStatus pipeline step (Fixes #357)

This commit is contained in:
Robin Müller 2016-06-14 21:38:04 +02:00
parent 77cd938220
commit 44648f7d67
1 changed files with 7 additions and 2 deletions

View File

@ -141,8 +141,13 @@ GitLab 8.1 has implemented a commit status api, you need an extra post-build ste
* For pipeline jobs surround your build step with the gitlabCommitStatus step like this:
```
gitlabCommitStatus {
<script that builds your project>
node() {
stage 'Checkout'
checkout <your-scm-config>
gitlabCommitStatus {
<script that builds, tests, etc. your project>
}
}
```
* Configure access to GitLab as described above in "Configure access to GitLab" (the account needs at least developer permissions to post commit statuses)