blob: 5fade16026476618a267a8003b5def433ef8641f [file] [log] [blame]
---
- name: Set coverage log path
set_fact:
log_path: "{{ zuul.executor.log_root }}/"
when: log_path is not defined
- name: Collect coverage.xml
synchronize:
src: "{{ coverage_xml_dir }}/coverage.xml"
dest: "{{ log_path }}/coverage.xml"
mode: pull
- name: Return site artifact location to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: "Coverage data"
metadata:
type: "cobertura_xml"
url: "coverage.xml"