jenkins-job-builder/tests/yamlparser/fixtures/jinja03.yaml.inc
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

4 lines
47 B
PHP

{% for x in [1, 2, 3] %}
{{ x }}
{%- endfor %}