Make ara-report role to zuul_return an artifact

Change-Id: If9bf0ff28abeffba70937ceff9733fc2c975e6ca
This commit is contained in:
Fabien Boucher 2019-12-06 16:48:53 +01:00
parent 0b0cb18a60
commit 262c16b305
1 changed files with 15 additions and 0 deletions

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 }}"