blob: 8ae469578172a6997c942f551ca428c86530ee26 [file] [log] [blame]
- name: Retrieve coverage from parent jobs
include_tasks: download.yaml
loop: "{{ zuul.artifacts | json_query(artifact_selector) }}"
vars:
artifact_selector: "[([?metadata.type == 'cobertura_xml' && project == '{{ zuul.project.name }}' && job == '{{ job_name }}'])[-1]]"
loop_control:
loop_var: artifact