From 3cc88dfb55d67f4d29dd5204b590f8ec490e0b6a Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 5 Jan 2019 14:57:06 +0000 Subject: [PATCH] Update fetch-output to use work_root The executor variable is work_root, not work_dir. Change-Id: Ie09989cccb2574d5d474118a8f534f66fc47b4a6 --- roles/fetch-output/tasks/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/fetch-output/tasks/main.yaml b/roles/fetch-output/tasks/main.yaml index 254cccdf7..37ba8f884 100644 --- a/roles/fetch-output/tasks/main.yaml +++ b/roles/fetch-output/tasks/main.yaml @@ -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