Merge "Revert "Add zuul.{pipeline,nodepool.provider,executor.hostname} to job header""

This commit is contained in:
James E. Blair 2017-10-23 23:21:02 +00:00 committed by Gerrit Code Review
commit cb7efe3198

View File

@ -1,16 +1,10 @@
- include_role:
name: set-zuul-log-path-fact
- name: Print job information
debug:
msg: |
Job: {{ zuul.job }}
Pipeline: {{ zuul.pipeline }}
Executor: {{ zuul.executor.hostname }}
Provider: {{ nodepool.provider }}
{% if zuul.change_url is defined %}
Triggered by: {{ zuul.change_url }}
{% endif %}
{% if zuul_log_url is defined and zuul_log_path is defined %}
Log URL (when completed): {{ zuul_log_url }}/{{ zuul_log_path }}
{% endif %}
- 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 available at {{ zuul_log_url }}/{{ zuul_log_path }}"
when: zuul_log_url is defined and zuul_log_path is defined