blob: 8ae469578172a6997c942f551ca428c86530ee26 [file] [log] [blame]
Jan Kundrát473cdf52020-04-14 13:34:33 +02001- 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