[Buildbot-devel] Using wildcards in a ShellCommand shell script

J. Félix Ontañón fontanon at emergya.es
Tue Apr 8 09:55:16 UTC 2008


Hi all,

After some BuildSteps, the result in the slave's builder workdir its:

app/
|
|--- build
|     | ----- foo.c
|     ` ----- Makefile    <--- This generates foo in ../
`--- foo  <---- As you can see


So this ShellCommand Subclass works !!!

class UploadDebSrc(ShellCommand):
    command = ["ls", "../foo"]

    def __init__(self, **kwargs):
        ShellCommand.__init__(self, **kwargs)


But why that ShellCommand fails !!!

class UploadDebSrc(ShellCommand):
    command = ["ls", "../f*"]

    def __init__(self, **kwargs):
        ShellCommand.__init__(self, **kwargs)


I need to use wildcards as * or ? in my ShellCommands.

Thanks.




More information about the devel mailing list