jenkins-job-builder/tests/yamlparser/error_fixtures/nested_brace_in_variable.yaml
Vsevolod Fedorov 36b9d8bfca Add tags: '!include-raw-verbatim:' and '!include-raw-expand:'
Use '!include-raw-expand:' instead of '!include-raw:'
and '!include-raw-verbatim:' instead of '!include-raw-escape:'.
Tags '!include-raw:' and '!include-raw-escape:' are now deprecated.

Change-Id: I3cc5ab9f73d03de1ba09cbc4568366a3bb464a08
2024-02-07 14:22:54 +03:00

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