zuul-jobs/roles/buildset-artifacts-location/tasks/main.yaml
Tristan Cacqueray c03fc87905
Add buildset-artifacts-location
Change-Id: I7db7633a8149c63a1e1232173fdc1d446fc70fbc
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-06-14 11:14:25 -04:00

16 lines
402 B
YAML

---
- name: Check for buildset artifacts
delegate_to: localhost
stat:
path: "{{ zuul.executor.log_root }}/buildset"
register: _buildset_artifacts
- name: Define buildset artifacts location
delegate_to: localhost
zuul_return:
data:
buildset_artifacts_url: "{{ zuul_log_url }}/{{ zuul_log_path }}/buildset"
when: _buildset_artifacts.stat.exists
tags:
- skip_ansible_lint