Skip to content

Latest commit

 

History

History
600 lines (379 loc) · 25.3 KB

cls-buildsteps.rst

File metadata and controls

600 lines (379 loc) · 25.3 KB

BuildSteps

There are a few parent classes that are used as base classes for real buildsteps. This section describes the base classes. The "leaf" classes are described in ../manual/configuration/steps/index.

See Writing-New-BuildSteps for a guide to implementing new steps.

BuildStep

CommandMixin

The :py~buildbot.process.buildstep.BuildStep.runCommand method can run a :py~buildbot.process.remotecommand.RemoteCommand instance, but it's no help in building that object or interpreting the results afterward. This mixin class adds some useful methods for running commands.

This class can only be used in new-style steps.

ShellMixin

Most Buildbot steps run shell commands on the worker, and Buildbot has an impressive array of configuration parameters to control that execution. The ShellMixin mixin provides the tools to make running shell commands easy and flexible.

This class can only be used in new-style steps.

Exceptions