Merge "ara-report: add option for artifact prefix"
This commit is contained in:
commit
31a9f85aef
@ -60,3 +60,10 @@ If ARA is enabled, generates a report or saves a copy of the ARA database.
|
||||
:default: ``ara``
|
||||
|
||||
Path to ara executable.
|
||||
|
||||
.. zuul:rolevar:: ara_report_artifact_prefix
|
||||
:default: None
|
||||
|
||||
Prefix to add to the artifact URL reported to Zuul. If you copy
|
||||
results into a subdirectory, add this here. Note this should have
|
||||
a trailing ``/``.
|
||||
|
@ -25,3 +25,7 @@ ara_report_path: '{{ zuul.executor.log_root }}/ara'
|
||||
ara_compress_html: true
|
||||
|
||||
ara_report_executable: ara
|
||||
|
||||
# If you copy the ara results into a subdirectory, use this to prefix
|
||||
# the location the artifact points to.
|
||||
ara_report_artifact_prefix: ''
|
||||
|
@ -63,7 +63,7 @@
|
||||
zuul:
|
||||
artifacts:
|
||||
- name: ARA report
|
||||
url: "{{ ara_report_path | regex_replace('\\/$', '') | basename }}"
|
||||
url: "{{ ara_report_artifact_prefix }}{{ ara_report_path | regex_replace('\\/$', '') | basename }}"
|
||||
rescue:
|
||||
- name: HTML generation rescue
|
||||
debug:
|
||||
|
Loading…
Reference in New Issue
Block a user