Skip to content

Commit 53e977a

Browse files
committed
Merge templates and parameters update readme
2 parents 74cdbba + c0c7b40 commit 53e977a

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ Any variable must contain `name` and `value` or `encrypted_value`.
160160
"name": "pipe2",
161161
"label_template": "foo-1.0-${COUNT}",
162162
"enable_pipeline_locking": true,
163+
"parameters": [
164+
{
165+
"name": "param",
166+
"value": "parameter"
167+
}
168+
],
163169
"mingle": {
164170
"base_url": "http://mingle.example.com",
165171
"project_identifier": "my_project"
@@ -178,11 +184,30 @@ Any variable must contain `name` and `value` or `encrypted_value`.
178184
}
179185
```
180186

187+
#### Referencing an existing template in a config repo:
188+
189+
```json
190+
{
191+
"group": "group1",
192+
"name": "pipe-with-template",
193+
"label_template": "foo-1.0-${COUNT}",
194+
"enable_pipeline_locking": true,
195+
"template": "template1",
196+
"parameters": [
197+
{
198+
"name": "param",
199+
"value": "parameter"
200+
}
201+
],
202+
"materials": [
203+
...
204+
]
205+
}
206+
```
207+
181208
Please note:
182209

183-
* templates are not supported
184-
* parameters are not supported
185-
* pipeline declares a group to which it belongs
210+
* Pipeline declares a group to which it belongs
186211

187212
### Mingle
188213

0 commit comments

Comments
 (0)