Collect testr / testrepository results

Check to see if testr / testrepository results have been created. If
so, copy them back to zuul-executor so we can publish them.

Change-Id: Ic367a7e36d8d6f4921704782adabfba770daea58
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-06-01 13:09:19 -04:00
parent 2fe384f6cb
commit 31e7c05d53
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -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"