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

View File

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