Add zuul_log_url to emit-job-header
Just the log path without the url ... not so useful. Change-Id: Ifdfa44e4e7742470631e31a8fd8fb93852d24c47
This commit is contained in:
parent
62c73aade3
commit
4a21194da7
7
roles/emit-job-header/README.rst
Normal file
7
roles/emit-job-header/README.rst
Normal file
@ -0,0 +1,7 @@
|
||||
Log a few lines about the job.
|
||||
|
||||
**Role Variables**
|
||||
|
||||
.. zuul:rolevar:: zuul_log_url
|
||||
|
||||
Base URL where logs are to be found.
|
@ -3,5 +3,5 @@
|
||||
when: zuul.change_url is defined
|
||||
|
||||
- debug:
|
||||
msg: "At completion, logs for this job will be availble at {{ log_path }}"
|
||||
when: log_path is defined
|
||||
msg: "At completion, logs for this job will be availble at "{{ zuul_log_url }}/{{ log_path }}"
|
||||
when: zuul_log_url is defined and log_path is defined
|
||||
|
Loading…
Reference in New Issue
Block a user