Permalink
Browse files

Use available author information.

  • Loading branch information...
1 parent 3a3f008 commit e7a4b15270f55b256693fe912e1870105adedf2a @cboos committed Apr 27, 2010
Showing with 5 additions and 4 deletions.
  1. +5 −4 HudsonTrac/HudsonTracPlugin.py
@@ -94,9 +94,9 @@ def __init__(self):
'[timestamp>=%(start)s][timestamp<=%(stop)s]')
depth += 1
- self.info_url = ('%s?xpath=%s&depth=%s&exclude='
- '//action|//artifact|//changeSet|'
- '//culprit&wrapper=builds' %
+ self.info_url = ('%s?xpath=%s&depth=%s'
+ '&exclude=//action|//artifact|//changeSet'
+ '&wrapper=builds' %
(api_url.replace('%', '%%'), path, depth))
self.env.log.debug("Build-info url: '%s'", self.info_url)
@@ -192,6 +192,7 @@ def get_number(parent, child):
started /= 1000
completed /= 1000
+ author = get_string(entry, 'fullName')
result = get_string(entry, 'result')
message, kind = {
'SUCCESS': ('Build finished successfully',
@@ -211,4 +212,4 @@ def get_number(parent, child):
title = 'Build "%s" (%s)' % (get_string(entry, 'fullDisplayName'),
result.lower())
- yield kind, href, title, completed, None, comment
+ yield kind, href, title, completed, author, comment

0 comments on commit e7a4b15

Please sign in to comment.