Jeremy Stanley 92165cec41
Yet still more fix post log location
No, we *really* meant to use /AB/ABC..XYZ/ not /C...YZ/ABC..XYZ/.

Depends-On: I1c98508fe227f7f6aa1d0b2f7dcf270cecaa60d8
Change-Id: I3a6963c1a20793407b706d2decdace90521510d0
2017-09-30 10:05:48 -05:00

10 lines
414 B
YAML

- name: Set log path for a change
when: zuul.change is defined
set_fact:
zuul_log_path: "{{ zuul.change[-2:] }}/{{ zuul.change }}/{{ zuul.patchset }}/{{ zuul.pipeline }}/{{ zuul.job }}/{{ zuul.build[:7] }}"
- name: Set log path for a ref update
when: zuul.newrev is defined
set_fact:
zuul_log_path: "{{ zuul.newrev[:2] }}/{{ zuul.newrev }}/{{ zuul.pipeline }}/{{ zuul.job }}/{{ zuul.build[:7] }}"