Merge "Make ara-report role to zuul_return an artifact"

This commit is contained in:
Zuul 2020-01-22 10:33:15 +00:00 committed by Gerrit Code Review
commit 0ed3f04dd1

View File

@ -60,6 +60,14 @@
when:
- ara_compress_html | bool
- not ara_generated | skipped
- name: Return ARA report
when: not ara_generated | skipped
zuul_return:
data:
zuul:
artifacts:
- name: ARA report
url: "{{ ara_report_path }}"
rescue:
- name: HTML generation rescue
debug:
@ -80,3 +88,10 @@
- name: Save the ARA database
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 }}"