Skip to content

Commit

Permalink
Merge pull request #1287 from delanne/DocFixShellSequence
Browse files Browse the repository at this point in the history
Fix documentation: Shell Sequence
  • Loading branch information
Mikhail Sobolev committed Oct 24, 2014
2 parents 2b4606a + 6596170 commit 1bb1b80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions master/docs/manual/cfg-buildsteps.rst
Expand Up @@ -1165,10 +1165,10 @@ A list of :class:`~buildbot.steps.shellsequence.ShellArg` objects or a renderabl

from buildbot.plugins import steps, util
f.addStep(steps.ShellSequence(commands=[
util.ShellArg(cmd='configure'),
util.ShellArg(cmd='make', log='make'),
util.ShellArg(cmd='make check_warning', log='warning', warnOnFailure=True),
util.ShellArg(cmd='make install', log='make install')
util.ShellArg(command=['configure']),
util.ShellArg(command=['make'], log='make'),
util.ShellArg(command=['make', 'check_warning'], log='warning', warnOnFailure=True),
util.ShellArg(command=['make', 'install'], log='make install')
]))

All these commands share the same configuration of ``environment``, ``workdir`` and ``pty`` usage that can be setup the same way as in :bb:step:`ShellCommand`.
Expand Down

0 comments on commit 1bb1b80

Please sign in to comment.