Clarified example for seed job. #134

Emphasize that the jobs section is a root element like jenkins: in .yaml
This commit is contained in:
Praqma Release User 2018-03-05 14:02:21 +01:00
parent eadd066225
commit db35f1a3e9
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,8 @@ Job-DSL plugin uses groovy syntax for it's job configuration DSL, so you'll have
configuration-as-code file:
```yaml
jenkins:
systemMessage: "Simple seed job example"
jobs:
- >
multibranchPipelineJob('configuration-as-code') {
@ -142,6 +144,7 @@ jobs:
}
```
## How to provide initial secrets for Configuration-as-Code
Currently you can provide initial secrets to Configuration-as-Code that all rely on <key,value>