blob: 5fade16026476618a267a8003b5def433ef8641f [file] [log] [blame]
Jan Kundrát3a016432020-04-07 22:47:49 +02001---
2- name: Set coverage log path
3 set_fact:
4 log_path: "{{ zuul.executor.log_root }}/"
5 when: log_path is not defined
6
7- name: Collect coverage.xml
8 synchronize:
9 src: "{{ coverage_xml_dir }}/coverage.xml"
10 dest: "{{ log_path }}/coverage.xml"
11 mode: pull
12
13- name: Return site artifact location to Zuul
14 zuul_return:
15 data:
16 zuul:
17 artifacts:
18 - name: "Coverage data"
19 metadata:
20 type: "cobertura_xml"
21 url: "coverage.xml"