[Buildbot-devel] Changing the upload filename on each build
Ben Hearsum
bhearsum at wittydomain.com
Thu Sep 13 12:56:53 UTC 2007
Martin v. Löwis wrote:
>> 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
>
> Thanks. I had not recognized that the build step constructor is executed
> at build time, not at configuration time.
>
> Regards,
> Martin
>
Actually, that reminds me. That will not be true in the next version.
You should probably override the start() method instead.
def start(self):
# do stuff
FileDownload.start(self)
Sorry for the confusion!
More information about the devel
mailing list