Skip to content

Commit

Permalink
Added urls list to the build property page
Browse files Browse the repository at this point in the history
  • Loading branch information
lurker99 committed Jul 29, 2009
1 parent 57b6539 commit 6aed4aa
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions buildbot/status/web/build.py
Expand Up @@ -123,17 +123,24 @@ def body(self, req):
name,
" ".join(s.getText()),
time_to_run))
data += " <ol>\n"
if s.getLogs():
data += " <ol>\n"
for logfile in s.getLogs():
logname = logfile.getName()
logurl = req.childLink("steps/%s/logs/%s" %
(urllib.quote(name),
urllib.quote(logname)))
data += (" <li><a href=\"%s\">%s</a></li>\n" %
(logurl, logfile.getName()))
data += " </ol>\n"
data += " </li>\n"
if s.getURLs():
for url in s.getURLs().items():
logname = url[0]
logurl = url[1]
data += (' <li><a href="%s">%s</a></li>\n' %
(logurl, html.escape(logname)))
data += "</ol>\n"
data += " </li>\n"

data += "</ol>\n"

data += "<h2>Build Properties:</h2>\n"
Expand Down

0 comments on commit 6aed4aa

Please sign in to comment.