Copy logs to launcher

Change-Id: Ibe0abe1c058b708b34799633f249c9b14426d993
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-02-23 17:08:58 -05:00
parent b52fd51ecd
commit 0d53e47f5e
2 changed files with 15 additions and 0 deletions

View File

@ -1,6 +1,7 @@
- job:
name: python-linters
pre-run: pre
post-run: post
nodes:
- name: worker
image: ubuntu-xenial

14
playbooks/post.yaml Normal file
View File

@ -0,0 +1,14 @@
- hosts: all
tasks:
- name: Collect console log.
synchronize:
dest: "{{ zuul.launcher.log_root }}"
mode: pull
src: "/tmp/console.log"
- name: Collect tox logs.
synchronize:
dest: "{{ zuul.launcher.log_root }}/tox/"
mode: pull
src: "/home/zuul/workspace/src/{{ zuul.project }}/.tox/pep8/log/"