diff --git a/playbooks/tox/post.yaml b/playbooks/tox/post.yaml index 4e637d85..771b6af0 100644 --- a/playbooks/tox/post.yaml +++ b/playbooks/tox/post.yaml @@ -15,3 +15,14 @@ mode: pull src: "{{ item.path }}/log/" with_items: "{{ result.files }}" + + - name: Collect test-results. + synchronize: + dest: "{{ zuul.executor.log_root }}" + mode: pull + rsync_opts: + - "--ignore-missing-args" + src: "{{ zuul_workspace_root }}/src/{{ zuul.project.canonical_name }}/{{ item }}" + with_items: + - "*testr_results.html.gz" + - "*testrepository.subunit.gz"