From d08ef26bbf3cc793a62622534f18f17dcdceb69c Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 1 Dec 2015 10:56:07 -0500 Subject: [PATCH] Document the new {template-name} variable Doc change only to document the {template-name} variable added in commit 7ef05f7. Change-Id: I88cfd14e2fa642fd4d6b9ac8d002c17fb8ef7dd9 --- doc/source/definition.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/definition.rst b/doc/source/definition.rst index 9a52e5a6b..d3b6871e8 100644 --- a/doc/source/definition.rst +++ b/doc/source/definition.rst @@ -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