doc: refine zuul_return instruction
The zuul_return task needs to be executed on the executor node, otherwise it fails with KeyError: 'ZUUL_JOBDIR' Change-Id: Ib02648f40b1602c85b8c70ee0965f0fde2d227fe
This commit is contained in:
parent
83f504c966
commit
ff47ff04c2
|
@ -540,7 +540,8 @@ Return Values
|
|||
|
||||
A job may return some values to Zuul to affect its behavior and for
|
||||
use by other jobs.. To return a value, use the ``zuul_return``
|
||||
Ansible module in a job playbook. For example:
|
||||
Ansible module in a job playbook running on the executor 'localhost' node.
|
||||
For example:
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
|
|
Loading…
Reference in New Issue