buildmaster: add step status debug line in the email body

This commit is contained in:
Martin Krizek 2014-08-18 11:10:38 +00:00
parent 59cae64129
commit d7f5bf91e1

View file

@ -252,11 +252,12 @@ def html_message_formatter(mode, name, build, results, master_status):
break
name = "%s.%s" % (log.getStep().getName(), log.getName())
status, dummy = log.getStep().getResults()
content = log.getText().splitlines() # Note: can be VERY LARGE
url = u'%s/steps/%s/logs/%s' % (master_status.getURLForThing(build),
log.getStep().getName(),
log.getName())
text.append(u'DEBUG: status=%s dummy=%s' % (status, dummy))
text.append(u'<i>Detailed log of last build step:</i> <a href="%s">%s</a>'
% (url, url))
text.append(u'<br>')