jenkins-job-builder/tests/yamlparser/error_fixtures/nested_brace_in_variable.yaml

14 lines
360 B
YAML

# Check braces inside variable does not cause parser to fail.
# This may happen when tag !include-raw-expand: is used instead of !include-raw-verbatim:
# and there are nested blocks of groovy code inside included file.
- job-template:
name: sample-job
builders:
- shell: '{ {x} }'
- project:
name: sample-project
jobs:
- sample-job