Skip to content

Commit

Permalink
add an example for workdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Jan 9, 2010
1 parent 7fdadb0 commit e44d7c0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/buildbot.texinfo
Expand Up @@ -5663,6 +5663,13 @@ builder's @code{c['builddir']} key in master.cfg) plus the workdir
itself (a class-level attribute of the BuildFactory, defaults to
``@file{build}'').

For example:

@example
f.addStep(ShellCommand(command=["make", "test"],
workdir="build/tests"))
@end example

@item env
a dictionary of environment strings which will be added to the child
command's environment. For example, to run tests with a different i18n
Expand Down

0 comments on commit e44d7c0

Please sign in to comment.