From 2dd4c5274b39064731bf107153a3de88d8c94659 Mon Sep 17 00:00:00 2001 From: Benedikt Loeffler Date: Tue, 10 Apr 2018 13:51:17 +0200 Subject: Add role information to task in zuul_json callback In comparison to other callback plugins like the default (stdout) plugin, the role information for an executed task is missing in the json output. To be complient to the provided task output containing the name and uuid field, we've defined a similar data structure containing the role information. This will only be added to the result set if the task contained the necessary role information. Change-Id: I8d94ba077e0bc90b5cf6510804bbd57c38184a9d --- releasenotes/notes/role-in-json-4bc0d862066a4390.yaml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 releasenotes/notes/role-in-json-4bc0d862066a4390.yaml (limited to 'releasenotes/notes/role-in-json-4bc0d862066a4390.yaml') diff --git a/releasenotes/notes/role-in-json-4bc0d862066a4390.yaml b/releasenotes/notes/role-in-json-4bc0d862066a4390.yaml new file mode 100644 index 000000000..2e5d17abd --- /dev/null +++ b/releasenotes/notes/role-in-json-4bc0d862066a4390.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Add role name to json log + The json log contains now also the role name and the uuid + similar to the task entry. -- cgit v1.2.1