Add support for replacing more params using job templates
Change-Id: Ib5ef66a2a5504dee190f65912c910bd5131f71ab
diff --git a/README.rst b/README.rst
old mode 100755
new mode 100644
index fe3421d..b24514d
--- a/README.rst
+++ b/README.rst
@@ -352,6 +352,8 @@
Interpolating parameters for job templates.
+.. code-block:: yaml
+
_param:
salt_formulas:
- aodh
@@ -368,6 +370,22 @@
param:
formula: ${_param:salt_formulas}
+Or simply define multiple jobs and it's parameters to replace from template:
+
+.. code-block:: yaml
+
+ jenkins:
+ client:
+ job_template:
+ test_workflow_template:
+ name: test-{{name}}-{{myparam}}
+ template:
+ ...
+ jobs:
+ - name: firstjob
+ myparam: dummy
+ - name: secondjob
+ myparam: dummyaswell
Purging undefined jobs from Jenkins