jenkins-job-builder/tests/yamlparser/error_fixtures/macro_with_null_params.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