[Buildbot-devel] Changing the upload filename on each build

Ben Hearsum bhearsum at wittydomain.com
Thu Sep 13 12:31:24 UTC 2007


You'll want to derive from FileDownload and probably just override the 
__init__ method.

class MyNewDownload(FileDownload):
     def __init__(self, **kwargs):
         FileDownload.__init__(self, **kwargs)
         # from here, you can alter slavedest however you please

Martin v. Löwis wrote:
> I need to change the file name for the FileUpload
> step on each build (it's a different file name every day).
> What would be the best way to achieve that?
> (IOW, what class should I derive from,
> what method should I override)
> 
> Regards,
> Martin
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> 




More information about the devel mailing list