Browse Source

Update fetch-output to use work_root

The executor variable is work_root, not work_dir.

Change-Id: Ie09989cccb2574d5d474118a8f534f66fc47b4a6
changes/34/628734/1
Monty Taylor 5 months ago
parent
commit
3cc88dfb55
No account linked to committer's email address
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      roles/fetch-output/tasks/main.yaml

+ 4
- 4
roles/fetch-output/tasks/main.yaml View File

@@ -14,8 +14,8 @@
14 14
     state: directory
15 15
   with_items:
16 16
     - "{{ log_path }}"
17
-    - "{{ zuul.executor.work_dir }}/artifacts"
18
-    - "{{ zuul.executor.work_dir }}/docs"
17
+    - "{{ zuul.executor.work_root }}/artifacts"
18
+    - "{{ zuul.executor.work_root }}/docs"
19 19
 
20 20
 - name: Collect log output
21 21
   synchronize:
@@ -26,14 +26,14 @@
26 26
 
27 27
 - name: Collect artifacts
28 28
   synchronize:
29
-    dest: "{{ zuul.executor.work_dir }}/artifacts/"
29
+    dest: "{{ zuul.executor.work_root }}/artifacts/"
30 30
     mode: pull
31 31
     src: "{{ zuul_output_dir }}/artifacts/"
32 32
     verify_host: true
33 33
 
34 34
 - name: Collect docs
35 35
   synchronize:
36
-    dest: "{{ zuul.executor.work_dir }}/docs/"
36
+    dest: "{{ zuul.executor.work_root }}/docs/"
37 37
     mode: pull
38 38
     src: "{{ zuul_output_dir }}/docs/"
39 39
     verify_host: true

Loading…
Cancel
Save