Clarified example for seed job. #134
Emphasize that the jobs section is a root element like jenkins: in .yaml
This commit is contained in:
parent
eadd066225
commit
db35f1a3e9
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue