18 lines
450 B
YAML
18 lines
450 B
YAML
- builder:
|
|
name: sample-macro
|
|
builders:
|
|
# Add parameter to check if macro behaves the same way as if no params were provided.
|
|
# That is, it should try to expand the parameter.
|
|
- shell: 'echo {hello}'
|
|
|
|
- job-template:
|
|
name: sample-job
|
|
builders:
|
|
# Place colon but define no parameters (parameters are null instead of dict).
|
|
- sample-macro:
|
|
|
|
- project:
|
|
name: sample-project
|
|
jobs:
|
|
- sample-job
|