[Buildbot-devel] Using slave name in the file name of a uploaded file
Greg Ward
gerg.ward+buildbot at gmail.com
Fri Feb 15 02:32:03 UTC 2008
On Tue, Feb 12, 2008 at 10:07 PM, John Saxton <saxton at apple.com> wrote:
> You could subclass FileUpload to add WithProperties support. You can
> do this right from your master.cfg:
Or use my patch in ticket #115 (http://buildbot.net/trac/ticket/115),
which makes WithProperties easier to use everywhere... and uses it in
File{Upload,Download}. If you use my patch, the last bit of John's
suggested config:
> f.addStep(FlexibleFileUpload(slavesrc=['somefile'],
> masterdest=WithProperties("somefile-%(slavename)s")))
should work fine.
(Link to patch:
http://buildbot.net/trac/attachment/ticket/115/ticket-115-patchset.zip
.)
Greg
More information about the devel
mailing list