buildCommandStep static method

PipeStep buildCommandStep(
  1. BPConfig config,
  2. PlatformConfig platformConfig,
  3. String label
)

The step running the build command of a platform

Implementation

static PipeStep buildCommandStep(BPConfig config, PlatformConfig platformConfig, String label) {
  return CommandStep.fromString(
    label,
    platformConfig.buildCommand,
    // Appending any additional command line arguments passed down from build_pipe:build command
    extraArguments: config.cmdArgs,
  );
}