Copy logs to launcher
Change-Id: Ibe0abe1c058b708b34799633f249c9b14426d993 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
b52fd51ecd
commit
0d53e47f5e
@ -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
14
playbooks/post.yaml
Normal 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/"
|
||||
|
Loading…
Reference in New Issue
Block a user