jenkins-job-builder/tests/yamlparser/fixtures/jinja-string02.yaml
Daniel Watkins ac7bcb5337 Always deep format Jinja2 templates
As Jinja2 provides functionality other than interpolation, it's entirely
feasible to use it outside of a context where there are template
variables.  This change ensures that we always deep format Jinja2
templates, even when we wouldn't normally interpolate a regular JJB
template.

Change-Id: Ia3f86dd2073d48594eaf791fa2277db7e5ebf0ab
2018-02-23 11:43:21 -05:00

5 lines
108 B
YAML

- job:
name: test-job
builders:
- shell: !j2: "{% for x in [1, 2, 3] %}{{ x }}{% endfor %}"