Class WorkerShellStep

  • All Implemented Interfaces:
    Step

    public class WorkerShellStep
    extends Object
    implements Step
    • Constructor Detail

      • WorkerShellStep

        public WorkerShellStep​(BuildTarget buildTarget,
                               Optional<WorkerJobParams> cmdParams,
                               Optional<WorkerJobParams> bashParams,
                               Optional<WorkerJobParams> cmdExeParams,
                               WorkerProcessPoolFactory factory)
        Creates new shell step that uses worker process to delegate work. If platform-specific params are present they are used in favor of universal params.
        Parameters:
        cmdParams - Universal, platform independent params, something that would work for both Linux/macOS and Windows platforms.
        bashParams - Used in Linux/macOS environment, specifies the arguments that are passed into bash shell.
        cmdExeParams - Used in Windows environment, specifies the arguments that are passed into cmd.exe (Windows shell).