[Buildbot-devel] URL to CGI script in Buildbot master directory

John Wieland johnny.c.sparkles at gmail.com
Thu Sep 2 05:45:15 UTC 2010


Hi,

I want to create a URL to point to a CGI script in the Buildbot master
directory. This URL will be added to the buildstep using addURL. I have not
been able to craft the URL successfully.

For instance, say the script was called script.py and was located on the
buildbot server under ~/Buildbot/project/script.py.

I have tried doing addURL("Script", "~/Buildbot/project/script.py") and
addURL("Script", "/script.py") and a few other ways and haven't had any
luck. Does anyone have an idea on how I could do this?

I want to create a test summary page which will parse all the logs produced
as part of the step and generate a summary of various test failures. My
project has hundreds of individual tests and displaying each test log in the
build step makes the step boxes too long to be useful. I have already
extended a StepBox class to only display certain logs in the test step and
would like to add a link in the build step to link to a custom summary page
(that will be generated on the fly by the CGI script). Perhaps I'm going
about this the wrong way. I have thought about changing the build page
template to implement this but does anyone have any other ideas?

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20100902/f80ba7d2/attachment.html>


More information about the devel mailing list