zuul-jobs/roles/emit-job-header/tasks/main.yaml
Monty Taylor 00e673c36b
Rename log_path and generate-log-url
Make log_path zuul_log_path because log_path is rather generic.

Rename generate-log-url to set-zuul-log-path-fact to make it
clearer what it does.

Change-Id: I91ae1e396b3ef04939edebaeea8e5b16cc50315a
2017-09-09 16:49:51 -06:00

11 lines
336 B
YAML

- include_role:
name: set-zuul-log-path-fact
- debug:
msg: "Job {{ zuul.job }} triggered from {{ zuul.change_url }}"
when: zuul.change_url is defined
- debug:
msg: "At completion, logs for this job will be availble at "{{ zuul_log_url }}/{{ zuul_log_path }}"
when: zuul_log_url is defined and zuul_log_path is defined