def glob2list_1(rc, stdout, stderr): return { "upload_files": [ l.strip() for l in stdout.split('\n') if l != ""] } factory.addStep(SetPropertyFromCommand(command="find output/*", extract_fn=glob2list_1)) # http://trac.buildbot.net/ticket/3009 factory.addStep( MultipleFileUpload( workdir="", slavesrcs=Interpolate("%(prop:upload_files)s"), masterdest=Interpolate("/var/lib/buildmaster/public_html/%(prop:product)s/%(prop:platform)s"), url=Interpolate("/%(prop:product)s/%(prop:platform)s") ) )