Make ara-report role to zuul_return an artifact

Change-Id: Ic3e90d06ac7e62d76c7fb0a67826f77f00ebbca0
This commit is contained in:
Fabien Boucher 2019-12-06 16:48:53 +01:00
parent 5ea9bac2df
commit d27ab338b5

View File

@ -60,6 +60,14 @@
when: when:
- ara_compress_html | bool - ara_compress_html | bool
- not ara_generated is skipped - not ara_generated is skipped
- name: Return ARA report
when: not ara_generated is skipped
zuul_return:
data:
zuul:
artifacts:
- name: ARA report
url: "{{ ara_report_path }}"
rescue: rescue:
- name: HTML generation rescue - name: HTML generation rescue
debug: debug:
@ -80,3 +88,10 @@
- name: Save the ARA database - name: Save the ARA database
command: cp {{ ara_database_path }} {{ final_ara_report_path }} command: cp {{ ara_database_path }} {{ final_ara_report_path }}
- name: Return ARA report
zuul_return:
data:
zuul:
artifacts:
- name: ARA report
url: "{{ ara_report_path }}"