Merge "Return subunit test report as artifact"

This commit is contained in:
Zuul 2020-01-24 10:04:02 +00:00 committed by Gerrit Code Review
commit 37b53a4d70

View File

@ -23,3 +23,15 @@
src: "{{ item.path }}"
verify_host: true
with_items: "{{ subunit_files.files }}"
- name: Return artifact to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "Unit Test Report"
url: "testr_results.html"
metadata:
type: unit_test_report
when: "'testr_results.html' in item.path"
with_items: "{{ subunit_files.files }}"