13df88774a
Adds a yaml application tag '!join:' to support defining data as a list while having the resulting contents automatically joined together with the specified delimiter and passed as a string into the resulting object returned by yaml for JJB to process. This allows users to store long lists of data that is combined together for use with Jenkins plugins that expect a delimited string of arguments instead of needing each module in JJB to provide individual support. Change-Id: I745181ade3926d5c29708963189ae499a0378ece
14 lines
185 B
YAML
14 lines
185 B
YAML
- string-with-comma: !join:
|
|
- ','
|
|
-
|
|
- item1
|
|
- item2
|
|
- item3
|
|
|
|
- string-with-space: !join:
|
|
- ' '
|
|
-
|
|
- item1
|
|
- item2
|
|
- item3
|