jenkins-job-builder/tests/yamlparser/fixtures/variable_escaping.yaml
Sorin Sbarnea c2781e670f
Normalize newlines at end of file
Preparatory move for adopting pre-commit hooks.
Shoudl only remove newlines and spaces at end of files.

Change-Id: Ia33679467c533722b9308f7e7b74be395c926428
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-06-29 16:07:06 -04: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}}"