Jan Kundrát | 3a01643 | 2020-04-07 22:47:49 +0200 | [diff] [blame] | 1 | --- |
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" |