Publish python-linters jobs to apache
Copy the logs folder in the JobDir under Apache. This will allow
external users to view the results of the job.
Change-Id: Ib05f6f92f144ed66de986ba863730c8391999c2a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
diff --git a/playbooks/post.yaml b/playbooks/post.yaml
index 31570bc..a11e50a 100644
--- a/playbooks/post.yaml
+++ b/playbooks/post.yaml
@@ -8,7 +8,12 @@
- name: Collect tox logs.
synchronize:
- dest: "{{ zuul.launcher.log_root }}/tox/"
+ dest: "{{ zuul.launcher.log_root }}/tox"
mode: pull
src: "/home/zuul/workspace/src/{{ zuul.project }}/.tox/pep8/log/"
+ - name: publish tox logs.
+ copy:
+ dest: "/opt/zuul-logs/{{ zuul.uuid}}"
+ src: "{{ zuul.launcher.log_root }}/"
+ delegate_to: 127.0.0.1