PipeRunner class

Runs the stages of a pipeline in order and reports everything that happens to the reporters

The runner is the only place that decides what happens after a failure, and the steps themselves neither print nor log anything

Constructors

PipeRunner(List<PipeReporter> reporters)

Properties

hashCode → int
The hash code for this object.
no setterinherited
reporters → List<PipeReporter>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(PipeRunInfo info, List<PipeStage> stages) → Future<PipeRunResult>
Runs the stages in order and returns the outcome
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

runWithConfig(BPConfig config, {required String command, required List<PipeStage> stages}) → Future<PipeRunResult>
Runs the stages with the reporters chosen by the config, and returns the outcome