[Buildbot-devel] setting up a builder's workdir

Stefan Seefeld seefeld at sympatico.ca
Sat Jan 21 05:52:04 UTC 2006


Hello,

I'm reading through the manual in search of some existing bits
to prepare a workdir which I can do some processing in. Most if
not all example builders start with some Source instance (CVS, say),
which creates the workdir.

However, I'm trying to write a builder that postprocesses a set of
builds previously completed, and trying with a simple
'(ShellCommand, command='echo "Hello World !"')' already fails
because the workdir within which the command would be executed
doesn't exist yet. In fact, the manual refers to a default 'workdir'
variable that is predefined in the BuildStep class at class-level,
though I can't seem to find it anywhere.

Is there any predefined BuildStep that I could use that sets up
my workdir ? It sounds like a frequent enough task to warrant
to be provided by buildbot itself.

Thanks,
		Stefan




More information about the devel mailing list