blob: 0a1e4d17a320baa72e481e73aeb3b43b35f54ad1 [file] [log] [blame]
- name: find artifact name
find:
paths: '{{ ansible_user_dir }}/zuul-output/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 }}'