Update fetch-output to use work_root

The executor variable is work_root, not work_dir.

Change-Id: Ie09989cccb2574d5d474118a8f534f66fc47b4a6
This commit is contained in:
Monty Taylor 2019-01-05 14:57:06 +00:00
parent 8e46e87cbe
commit 3cc88dfb55
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 4 additions and 4 deletions

View File

@ -14,8 +14,8 @@
state: directory
with_items:
- "{{ log_path }}"
- "{{ zuul.executor.work_dir }}/artifacts"
- "{{ zuul.executor.work_dir }}/docs"
- "{{ zuul.executor.work_root }}/artifacts"
- "{{ zuul.executor.work_root }}/docs"
- name: Collect log output
synchronize:
@ -26,14 +26,14 @@
- name: Collect artifacts
synchronize:
dest: "{{ zuul.executor.work_dir }}/artifacts/"
dest: "{{ zuul.executor.work_root }}/artifacts/"
mode: pull
src: "{{ zuul_output_dir }}/artifacts/"
verify_host: true
- name: Collect docs
synchronize:
dest: "{{ zuul.executor.work_dir }}/docs/"
dest: "{{ zuul.executor.work_root }}/docs/"
mode: pull
src: "{{ zuul_output_dir }}/docs/"
verify_host: true