Opened 6 years ago

Last modified 3 years ago

#2348 new enhancement

Show example of workdir in master.cfg.sample

Reported by: johnkw Owned by:
Priority: minor Milestone: 0.9.+
Version: 0.8.6p1 Keywords: docs
Cc:

Description (last modified by sa2ajj)

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

Change History (4)

comment:1 Changed 5 years ago by dustin

  • Keywords docs added
  • Milestone changed from undecided to 0.8.+
  • Type changed from undecided to enhancement

comment:2 Changed 5 years ago by tom.prince

  • Priority changed from trivial to minor

comment:3 Changed 4 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

Ticket retargeted after milestone closed

comment:4 Changed 3 years ago by sa2ajj

  • Description modified (diff)
Note: See TracTickets for help on using tickets.