jenkins-job-builder/tests/yamlparser
Daniel Watkins b95f194612 Add !include-jinja2 for rendering templates with Jinja2
This template included using !include-jinja2:

"""
{{ my_var }}
"""

is rendered the same as an existing template that looks like this:

"""
{my_var}
"""

This also allows the use of Jinja2's richer syntax:

"""
{% for test_environment in configuration.get("envs", ["py35"]) %}
tox -e {{ test_environment }}
{% endfor %}
"""

Story: 2001135

Change-Id: Ia3ee21822d6e9237f5ea46796bc8810ecac61e2c
2017-08-09 10:11:42 -04:00
..
exceptions Output additional info when exceptions occur 2016-12-08 15:59:12 +00:00
fixtures Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
__init__.py Add tests for YamlParser and patch 2.6 minidom 2014-01-26 17:02:51 +11:00
test_yamlparser.py Output additional info when exceptions occur 2016-12-08 15:59:12 +00:00