Set zuul_log_path for a periodic job
Change-Id: I3e30666d80929cf17dd818af7e97fba5dadf9993
This commit is contained in:
@@ -7,3 +7,8 @@
|
|||||||
when: zuul.newrev is defined
|
when: zuul.newrev is defined
|
||||||
set_fact:
|
set_fact:
|
||||||
zuul_log_path: "{{ zuul.newrev[:2] }}/{{ zuul.newrev }}/{{ zuul.pipeline }}/{{ zuul.job }}/{{ zuul.build[:7] }}"
|
zuul_log_path: "{{ zuul.newrev[:2] }}/{{ zuul.newrev }}/{{ zuul.pipeline }}/{{ zuul.job }}/{{ zuul.build[:7] }}"
|
||||||
|
|
||||||
|
- 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] }}"
|
||||||
|
Reference in New Issue
Block a user