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