From 00f4aab4d9e311fb4aeec30aa12012e43f854fe9 Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Wed, 12 Aug 2020 12:24:28 +0530 Subject: [PATCH] Fix url for ARA report https://review.opendev.org/#/c/742971 changed defaults for ara_report_path to be an absolute path but missed changes in zuul artifacts. The url here needs to be relative to log dir to be browsable. Change-Id: I53511709227ea890eb417778be89e49e03771ff2 --- roles/ara-report/tasks/main.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ara-report/tasks/main.yaml b/roles/ara-report/tasks/main.yaml index b0463f091..743a32379 100644 --- a/roles/ara-report/tasks/main.yaml +++ b/roles/ara-report/tasks/main.yaml @@ -63,7 +63,7 @@ zuul: artifacts: - name: ARA report - url: "{{ ara_report_path }}" + url: "{{ ara_report_path | regex_replace('\\/$', '') | basename }}" rescue: - name: HTML generation rescue debug: @@ -90,4 +90,4 @@ zuul: artifacts: - name: ARA report - url: "{{ ara_report_path }}" + url: "{{ ara_report_path | regex_replace('\\/$', '') | basename }}"