[Buildbot] #2348: Show example of workdir in master.cfg.sample

Buildbot trac trac at buildbot.net
Thu Jan 29 12:21:37 UTC 2015


#2348: Show example of workdir in master.cfg.sample
------------------------+--------------------
Reporter:  johnkw       |       Owner:
    Type:  enhancement  |      Status:  new
Priority:  minor        |   Milestone:  0.9.+
 Version:  0.8.6p1      |  Resolution:
Keywords:  docs         |
------------------------+--------------------
Description changed by sa2ajj:

Old description:

> 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.
>       ])
>     ))
> }}}

New description:

 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#comment:4>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list