From d27ab338b50bea412999a495c5c8ac8a70b151b8 Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Fri, 6 Dec 2019 16:48:53 +0100 Subject: [PATCH] Make ara-report role to zuul_return an artifact Change-Id: Ic3e90d06ac7e62d76c7fb0a67826f77f00ebbca0 --- roles/ara-report/tasks/main.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/roles/ara-report/tasks/main.yaml b/roles/ara-report/tasks/main.yaml index d937bbed6..d138cff65 100644 --- a/roles/ara-report/tasks/main.yaml +++ b/roles/ara-report/tasks/main.yaml @@ -60,6 +60,14 @@ when: - ara_compress_html | bool - 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: - 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 }}"