PipelineStepModel constructor

PipelineStepModel({
  1. required String name,
  2. required String command,
  3. List<String> dependsOn = const [],
  4. bool uploadOutput = false,
  5. String? outputPath,
  6. bool notifySlack = false,
  7. String? customExitCondition,
  8. bool? stopOnFailure = true,
})

Implementation

PipelineStepModel({
  required this.name,
  required this.command,
  this.dependsOn = const [],
  this.uploadOutput = false, // Default to false if not specified
  this.outputPath, // Optional: Path of the artifact to upload
  this.notifySlack = false, // Default to false if not specified
  this.customExitCondition,
  this.stopOnFailure = true,
});