From b1eb21c4468bc761bf500629466efbc236f092cb Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Sun, 8 Oct 2017 15:52:15 +0000 Subject: [PATCH] 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 --- roles/set-zuul-log-path-fact/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/set-zuul-log-path-fact/tasks/main.yaml b/roles/set-zuul-log-path-fact/tasks/main.yaml index 436e7af16..c49c3a85e 100644 --- a/roles/set-zuul-log-path-fact/tasks/main.yaml +++ b/roles/set-zuul-log-path-fact/tasks/main.yaml @@ -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] }}"