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:
Monty Taylor 2017-09-09 16:36:58 -06:00
parent 62c73aade3
commit 4a21194da7
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 9 additions and 2 deletions

View 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.

View File

@ -3,5 +3,5 @@
when: zuul.change_url is defined when: zuul.change_url is defined
- debug: - debug:
msg: "At completion, logs for this job will be availble at {{ log_path }}" msg: "At completion, logs for this job will be availble at "{{ zuul_log_url }}/{{ log_path }}"
when: log_path is defined when: zuul_log_url is defined and log_path is defined