jenkins-job-builder/tests/yamlparser/job_fixtures/variable_escaping.yaml
Vsevolod Fedorov 6b92807cd7 Tests: Rename yamlparser tests and fixture directories
Rename fixtures directory to job_fixtures to prepare for adding view_fixtures
directory in the following commits.

Change-Id: Ic20997cae020b542ddc22bf444fa6b92fbcae064
2023-01-26 11:06:23 +03:00

15 lines
371 B
YAML

- project:
name: test_template_variable_escaping
jobs:
- 'template_variable_escaping':
defined_var: 'Hello'
- job-template:
name: 'template_variable_escaping'
builders:
- shell: |
echo "{{var}}"
echo "{{defined_var|def}}"
echo "{{undefined_var|def}}"
echo "{{undefined_var|defined_var}}"