You should use the shell mode: factory.addStep(steps.ShellCommand(command="tar czvf rootfs.tar.gz rootfs/*")
On Sat, Aug 5, 2017 at 12:29 PM kipade <[email protected]> wrote: > I want to use tar to compress a directory into a single > tarbar file. I write buildstep like: > > factory.addStep(steps.ShellCommand(command=["tar", "czvf", > "rootfs.tar.gz", "rootfs/*"]) > > but I will got an error about no such file ‘rootfs/*', > it seems buildbot add a paire quote to my regular expression > string rootfs/*, but I just want it send all the command > to shell directly. > What should I do to avoiding such failure? > > Regards, > -- > kipade <[email protected]> > > _______________________________________________ > users mailing list > [email protected] > https://lists.buildbot.net/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] https://lists.buildbot.net/mailman/listinfo/users
