README: note that declarative jobs must be run manually once

Fixes #761
This commit is contained in:
Owen Mehegan 2018-05-25 18:10:58 -04:00 committed by GitHub
parent fd2f63a52d
commit 9ea18cd2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -365,6 +365,8 @@ Freestyle jobs can only send build status after the build steps are complete. To
### Declarative Pipeline jobs
The example below configures the GitLab connection and job triggers. It also sends build status back to GitLab.
**NOTE: You will need to run this job manually once, in order for Jenkins to read and set up the trigger configuration. Otherwise webhooks will fail to trigger the job.**
```
pipeline {
agent any