[Buildbot-devel] FileUpload unknown file name

Dustin J. Mitchell dustin at zmanda.com
Wed Jul 18 14:08:29 UTC 2007


On Wed, Jul 18, 2007 at 10:21:00AM +0200, Axel Hecht wrote:
> I'm pretty sure that wildcards don't work. You need to know the
> precise filename.
> 
> I'm not sure if python comes with any kind of wildcarding module at
> all, which one could use to implement this.

It does, but it would be evaluated at the wrong time, and on the master :)

My solution to this was to either subclass FileUpload and generate the
filename in start() before calling the parent method, or write a
ShellCommand step before the upload to rename the file to something with
a consistent name.

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/




More information about the devel mailing list