[Buildbot-commits] [Buildbot] #2348: Show example of workdir in master.cfg.sample
Buildbot
nobody at buildbot.net
Tue Aug 14 15:36:45 UTC 2012
#2348: Show example of workdir in master.cfg.sample
----------------------+-----------------------
Reporter: johnkw | Owner:
Type: undecided | Status: new
Priority: trivial | Milestone: undecided
Version: 0.8.6p1 | Keywords:
----------------------+-----------------------
Could add a new BuilderConfig, or modify the existing one, with an
explanation line similar to the below:
{{{
c['builders'].append(
BuilderConfig(name="runtests",
slavenames=["example-slave"],
factory=BuildFactory([
Git(repourl='git://github.com/buildbot/pyflakes.git',
mode='copy'),
ShellCommand(workdir='build', command=["trial", "pyflakes"]), #
'build' is the default subdirectory under the slave's build config
directory. So this workdir variable merely replicates the default
behavior.
])
))
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/2348>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list