[Buildbot-devel] [feature request] Support for baseurl on Waterfall
warner-buildbot at lothar.com
Sat Jun 18 02:10:38 UTC 2005
> What I want is to allow all links inside of the status page to use
> the baseurl to request builds/project/... and then solve my problem.
Ah. The c['buildbotURL'] configuration key is intended to provide this
functionality. The sample.cfg file says:
# the 'buildbotURL' string should point to the location where the buildbot's
# internal web server (usually the html.Waterfall page) is visible. This
# typically uses the port number set in the Waterfall 'status' entry, but
# with an externally-visible host name which the buildbot cannot figure out
# without some help.
c['buildbotURL'] = "http://localhost:8010/"
However, the Waterfall display doesn't currently use it for anything. If I
remember right, we're using relative URLs everywhere to avoid these sorts of
behind-a-proxy problems (in particular the Twisted buildbot lives on a
web.distrib unix socket, the outside-world URL is
http://twistedmatrix.com/buildbot/ but the distrib_port string is like
I think I wrote the code to use relative URLs, then added c['buildbotURL'] so
that in case we needed an absolute one, it would be available. (also so that
email or IRC status messages could point to a web page correctly). However
it's quite possible that I miseed something, that there's a link which starts
with a slash or something.
Which link on which page is breaking in your setup?
More information about the devel