Document the new {template-name} variable

Doc change only to document the {template-name} variable added in commit
7ef05f7.

Change-Id: I88cfd14e2fa642fd4d6b9ac8d002c17fb8ef7dd9
This commit is contained in:
Jonathan Lebon 2015-12-01 10:56:07 -05:00
parent 440cc0d12f
commit d08ef26bbf
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ define a template that you can use to create jobs with a `Project`_
definition. It's name will depend on what is supplied to the
`Project`_.
If you use the variable ``{template-name}``, the name of the template
itself (e.g. ``{name}-unit-tests`` in the above example) will be
substituted in. This is useful in cases where you need to trace a job
back to its template.
.. _project:
Project