
And collect it on post, it is helpful to see the results. Change-Id: I0dbecf57bf9182168eb6f99cdf88329fcdeb1bdc Signed-off-by: Paul Belanger <pabelanger@redhat.com>
15 lines
396 B
YAML
15 lines
396 B
YAML
- hosts: bridge.openstack.org
|
|
tasks:
|
|
- name: Register junit.xml file
|
|
stat:
|
|
path: "{{ zuul.project.src_dir }}/junit.xml"
|
|
register: _junit
|
|
|
|
- name: Collect testinfra logs
|
|
synchronize:
|
|
dest: "{{ zuul.executor.log_root }}"
|
|
mode: pull
|
|
src: "{{ zuul.project.src_dir }}/junit.xml"
|
|
verify_host: true
|
|
when: _junit.stat.exists|bool
|