PipelineStepModel constructor

PipelineStepModel({
  1. required String name,
  2. required String command,
  3. List<String> dependsOn = const [],
  4. String? description,
  5. bool uploadOutput = false,
  6. String? outputPath,
  7. bool notifySlack = false,
  8. bool notifyTeams = false,
  9. String? customExitCondition,
  10. bool? stopOnFailure = true,
  11. Map<String, String>? env,
  12. String? workingDirectory,
  13. int? timeout,
  14. int retry = 0,
  15. int retryDelay = 5,
  16. bool continueOnError = false,
  17. bool allowFailure = false,
  18. String? condition,
})

Implementation

PipelineStepModel({
  required this.name,
  required this.command,
  this.dependsOn = const [],
  this.description,
  this.uploadOutput = false,
  this.outputPath,
  this.notifySlack = false,
  this.notifyTeams = false,
  this.customExitCondition,
  this.stopOnFailure = true,
  this.env,
  this.workingDirectory,
  this.timeout,
  this.retry = 0,
  this.retryDelay = 5,
  this.continueOnError = false,
  this.allowFailure = false,
  this.condition,
});