From 27755ba83f83858f3dec3c23c3ab5101ea93a692 Mon Sep 17 00:00:00 2001
From: Mohammed Naser <mnaser@vexxhost.com>
Date: Mon, 23 Oct 2017 23:18:32 +0000
Subject: [PATCH] Revert "Add
 zuul.{pipeline,nodepool.provider,executor.hostname} to job header"

This reverts commit cb8c554f6e0a74eea331e1b3bb1847dbf4ae9233.

Change-Id: I8ef6c6778201b75e198c9a120242690573c320c6
---
 roles/emit-job-header/tasks/main.yaml | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/roles/emit-job-header/tasks/main.yaml b/roles/emit-job-header/tasks/main.yaml
index 6d436e0b4..93e962887 100644
--- a/roles/emit-job-header/tasks/main.yaml
+++ b/roles/emit-job-header/tasks/main.yaml
@@ -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