Speculative fix for ENOENT error in CWS canary upload
Bug: twpowertools:20
Change-Id: I7ba691b18b8562eff6b3fa6f87c141ffe03e4404
diff --git a/roles/fetch-cws-log/tasks/main.yaml b/roles/fetch-cws-log/tasks/main.yaml
index faeb65b..b61abeb 100644
--- a/roles/fetch-cws-log/tasks/main.yaml
+++ b/roles/fetch-cws-log/tasks/main.yaml
@@ -1,14 +1,14 @@
- name: Is there a cws-log.txt
register: stat_log
stat:
- path: "{{ zuul.project.src_dir }}/cws-log.txt"
+ path: "{{ zuul.project.src_dir }}/out/cws-log.txt"
- name: Store on executor
when: stat_log.stat.exists
synchronize:
mode: pull
- src: "{{ zuul.project.src_dir }}/cws-log.txt"
- dest: "{{ zuul.executor.log_root }}/cws-log.txt"
+ src: "{{ zuul.project.src_dir }}/out/cws-log.txt"
+ dest: "{{ zuul.executor.log_root }}/out/cws-log.txt"
verify_host: true
owner: no
group: no