Hello I'm using buildbot on Windows, I often need to move files about on the worker, so I have steps as follows
from buildbot.plugins import steps f.addStep(steps.ShellCommand(command=["cmd.exe /k", "copy Y:\sourcefile\j93n.exe Y:\dest\folder"], workdir="build/directory")) This will use the Windows command prompt to copy the j93n.exe to the destination folder, when it all works the command returns 0 which is SUCCESS, sometimes the copy fails always because the file does not exist. But when the file copy fails, I get an error message e.g "Copy FAILED" but the return code is also 0. Am I using the command in the wrong way? How can I get a non-zero return value when this copy command fails? Regards
_______________________________________________ users mailing list users@buildbot.net https://lists.buildbot.net/mailman/listinfo/users