Merge "Catch only debug tasks w/callback"

This commit is contained in:
Jenkins 2016-12-13 12:30:49 +00:00 committed by Gerrit Code Review
commit 3d5f848a07
1 changed files with 5 additions and 4 deletions

View File

@ -44,6 +44,7 @@ class CallbackModule(CallbackBase):
dictionary of debug tasks. The message includes rendered template data
if jinja2 templates were used to generate the debug output.
"""
if result._task.action == 'debug':
self.debug_tasks[result._task._uuid] = {
'name': result._task.name,
'msg': result._result['msg'],