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: - include_role:
name: set-zuul-log-path-fact name: set-zuul-log-path-fact
- name: Print job information - debug:
debug: msg: "Job {{ zuul.job }} triggered from {{ zuul.change_url }}"
msg: | when: zuul.change_url is defined
Job: {{ zuul.job }}
Pipeline: {{ zuul.pipeline }} - debug:
Executor: {{ zuul.executor.hostname }} msg: "At completion, logs for this job will be available at {{ zuul_log_url }}/{{ zuul_log_path }}"
Provider: {{ nodepool.provider }} when: zuul_log_url is defined and zuul_log_path is defined
{% 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 %}