23 lines
526 B
YAML
23 lines
526 B
YAML
- name: Register subunit file
|
|
stat:
|
|
path: "{{ zuul_work_dir }}/testrepository.subunit"
|
|
register: p
|
|
|
|
- name: Compress subunit file to archive to logs server
|
|
archive:
|
|
path: "{{ p.stat.path }}"
|
|
when:
|
|
- p.stat.exists
|
|
|
|
- name: Collect test-results
|
|
synchronize:
|
|
dest: "{{ zuul.executor.log_root }}"
|
|
mode: pull
|
|
rsync_opts:
|
|
- "--ignore-missing-args"
|
|
src: "{{ zuul_work_dir }}/{{ item }}"
|
|
verify_host: true
|
|
with_items:
|
|
- "*testr_results.html.gz"
|
|
- "*testrepository.subunit.gz"
|