Include project and branch in periodic job log URL

At least until we have a good dashboard to make periodic job logs
easier to find, include the project and branch names in the log path
so that they can be disambiguated from one another now that we're
sharing common job names across them.

Change-Id: Ifaca0dbcf39792094c23c3bd4ca1f3d207f80e26
This commit is contained in:
Jeremy Stanley 2017-10-08 15:52:15 +00:00
parent f8d33e7c1a
commit b1eb21c446

View File

@ -11,4 +11,4 @@
- name: Set log path for a periodic job
when: zuul.change is not defined and zuul.newrev is not defined
set_fact:
zuul_log_path: "{{ zuul.pipeline }}/{{ zuul.job }}/{{ zuul.build[:7] }}"
zuul_log_path: "{{ zuul.pipeline }}/{{ zuul.project.canonical_name }}/{{ zuul.branch }}/{{ zuul.job }}/{{ zuul.build[:7] }}"