blob: f7b59459843afc2c627d5e049ec73850886237d3 [file] [log] [blame]
- name: find artifact name
find:
paths: '{{ zuul_output_dir }}/artifacts'
patterns: '{{ artifacts.glob }}'
register: found_artifacts
- name: return artifacts to Zuul
zuul_return:
data:
zuul:
artifacts:
- name: '{{ artifacts.name }}'
url: 'artifacts/{{ item.path | basename }}'
loop: '{{ found_artifacts.files }}'