[Buildbot-devel] Fwd: How to debug FileUpload
Julia S.S.
hithwen at gmail.com
Thu May 8 12:11:16 UTC 2014
Hi, I'm trying to upload some html reports from slaves to master, the step
fails but I can't guess the reason.
Step is defined like this:
class UploadReport(FileUpload):
def __init__(self):
FileUpload.__init__(self,
slavesrc=WithProperties('build/python/%s',
'report_path'),
masterdest=WithProperties("/var/www/testreport/%s.html", 'report_path'))
(report_path) property is set in a previous step.
The step executes, description is set to "uploading develop-1676.html" but
it turns red.
I don't see any errors anywhere, not in the slave log nor in the master
one. File exists with (-rw------- permissions).
I've tried setting a relative path in masterdest (even if it has write
permissions in the given folder, but just in case). How can i guess what is
happening here?
Also is not clear in the documentation, if I want to pass a mode to
FileUpload constructor should I pass an integer, a string? which format?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140508/b97690d2/attachment.html>
More information about the devel
mailing list