Jan Kundrát | 473cdf5 | 2020-04-14 13:34:33 +0200 | [diff] [blame] | 1 | - name: Retrieve coverage from parent jobs |
2 | include_tasks: download.yaml | ||||
3 | loop: "{{ zuul.artifacts | json_query(artifact_selector) }}" | ||||
4 | vars: | ||||
5 | artifact_selector: "[([?metadata.type == 'cobertura_xml' && project == '{{ zuul.project.name }}' && job == '{{ job_name }}'])[-1]]" | ||||
6 | loop_control: | ||||
7 | loop_var: artifact |