diff options
author | James E. Blair <jeblair@linux.vnet.ibm.com> | 2015-11-18 17:11:21 -0800 |
---|---|---|
committer | James E. Blair <jeblair@linux.vnet.ibm.com> | 2015-11-24 07:47:26 -0800 |
commit | 7ef05f7373e26b16e96640039049a21e125ac054 (patch) | |
tree | 7dc14c24112e5cbda84e8c8c27673e1ff21506c9 /tests/yamlparser/fixtures/complete001.xml | |
parent | 294dea66b23c40e3af6094b92c4c6e964cadbed5 (diff) | |
download | python-jenkins-job-builder-7ef05f7373e26b16e96640039049a21e125ac054.tar.gz python-jenkins-job-builder-7ef05f7373e26b16e96640039049a21e125ac054.tar.xz python-jenkins-job-builder-7ef05f7373e26b16e96640039049a21e125ac054.zip |
Add template-name as a variable that can be used in a template
In complex configurations it may be useful to have a template
print out its name so that a given job can be easily traced to
its definition.
Change-Id: I1cfed9c27a58b45ba48aeed04839bfc8f54a831e
Diffstat (limited to 'tests/yamlparser/fixtures/complete001.xml')
-rw-r--r-- | tests/yamlparser/fixtures/complete001.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/yamlparser/fixtures/complete001.xml b/tests/yamlparser/fixtures/complete001.xml index f90b2f59..a30b25af 100644 --- a/tests/yamlparser/fixtures/complete001.xml +++ b/tests/yamlparser/fixtures/complete001.xml @@ -105,6 +105,9 @@ </triggers> <builders> <hudson.tasks.Shell> + <command>echo JJB template: complete001_{version}</command> + </hudson.tasks.Shell> + <hudson.tasks.Shell> <command>#!/usr/bin/env python # print("Doing something cool with python") |