Set zuul_log_path for a periodic job

Change-Id: I3e30666d80929cf17dd818af7e97fba5dadf9993
This commit is contained in:
Fabien Boucher
2017-10-04 11:17:16 +02:00
parent d577763697
commit f8d33e7c1a

View File

@@ -7,3 +7,8 @@
when: zuul.newrev is defined
set_fact:
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] }}"