zuul-jobs/roles/fetch-subunit-output/README.rst
Michel Peterson 724a520adf Fix lookup of subunit files in fetch-subunit-output
The role allows override of the zuul_work_dir variable, however in the
step where it retrieves the test results is the only step where it
prepends the directory with a fixed path. This breaks the step if the
zuul_work_dir given is a fully qualified path.

This patch defaults the zuul_work_dir to a fully qualified directory and
standarizes the usage zuul_work_dir across the role.

Change-Id: I62bc7571f625586a0d1b660f896e0c7cbaeae6e1
2018-02-28 14:33:35 +02:00

13 lines
297 B
ReStructuredText

Collect subunit outputs
**Role Variables**
.. zuul:rolevar:: zuul_work_dir
:default: {{ ansible_user_dir }}/{{ zuul.project.src_dir }}
Directory to work in. It has to be a fully qualified path.
.. zuul:rolevar:: tox_envlist
tox environment that was used to run the tests originally.