
This will be used in publication jobs in later changes. Change-Id: I784f81d9999630a643d79f1cfe5c651c40d437d8
11 lines
465 B
YAML
11 lines
465 B
YAML
- name: Write root marker
|
|
when: "zuul.branch is defined"
|
|
copy:
|
|
dest: "{{ root_marker_dir }}/.root-marker"
|
|
content: "Project: {{ zuul.project.name }} Branch: {{ zuul.branch }} Build: {{ zuul.build }} Revision: {{ zuul.ref }}"
|
|
- name: Write root marker
|
|
when: "zuul.tag is defined"
|
|
copy:
|
|
dest: "{{ root_marker_dir }}/.root-marker"
|
|
content: "Project: {{ zuul.project.name }} Tag: {{ zuul.tag }} Build: {{ zuul.build }} Revision: {{ zuul.ref }}"
|