From 28cab53d5d78438949b1ca14b50d0ea99377eed9 Mon Sep 17 00:00:00 2001 From: Jan Hruban Date: Fri, 9 Dec 2016 16:51:03 +0100 Subject: Allow template-name in the global defaults Inject the template-name into parameters earlier, so it's possible to use it in the global defaults. Mark the template name as 'verbatim' so the interpolation is skipped by the formatter. Change-Id: I5d98e32ed2bedaa6b536e61fbdec589f358f861f --- doc/source/definition.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/source/definition.rst') diff --git a/doc/source/definition.rst b/doc/source/definition.rst index ee5d379c..1ff49ef9 100644 --- a/doc/source/definition.rst +++ b/doc/source/definition.rst @@ -401,6 +401,9 @@ You can define variables that will be realized in a `Job Template`. Would create jobs ``build-i386`` and ``build-amd64``. +You can also reference a variable ``{template-name}`` in any value and it will +be subtitued by the name of the current job template being processed. + .. _variable_references: Variable References -- cgit