Package se.diabol.jenkins.pipeline.flow
Class FlowComponentSource
java.lang.Object
se.diabol.jenkins.pipeline.source.ComponentSource
se.diabol.jenkins.pipeline.flow.FlowComponentSource
- All Implemented Interfaces:
ExtensionPoint
Components that are a single Pipeline job: each run is a pipeline instance, each top-level stage a stage, and the
runs it started with the
build step follow its stages; the aggregated row shows for every stage the
newest run that ran it (see FlowChain).-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidStops the build with the given number.Collection<? extends Job<?, ?>> The jobs that make up the component, which the view lists as its items.voidproceedInput(Job<?, ?> job, int buildNumber, String task) Proceeds the input step the task with the given id is waiting at, or the run's first pending one, as its "Proceed" button would; the step checks who may.voidRuns the Pipeline again with the parameters of the given run, or when a stage is named, restarts that run from the stage through theStageRestartthat supports it.resolve(ComponentRequest request) Builds the component; a failure is reported to the user as the component's error.booleanWhether this source knows how to build a component starting at the given job.Methods inherited from class se.diabol.jenkins.pipeline.source.ComponentSource
all, forJob, proceedInput, rebuild, triggerManual
-
Constructor Details
-
FlowComponentSource
public FlowComponentSource()
-
-
Method Details
-
supports
Description copied from class:ComponentSourceWhether this source knows how to build a component starting at the given job.- Specified by:
supportsin classComponentSource
-
jobsOf
Description copied from class:ComponentSourceThe jobs that make up the component, which the view lists as its items.- Specified by:
jobsOfin classComponentSource
-
resolve
Description copied from class:ComponentSourceBuilds the component; a failure is reported to the user as the component's error.- Specified by:
resolvein classComponentSource- Throws:
PipelineException
-
rebuild
Runs the Pipeline again with the parameters of the given run, or when a stage is named, restarts that run from the stage through theStageRestartthat supports it.- Overrides:
rebuildin classComponentSource- Throws:
PipelineException
-
abort
Description copied from class:ComponentSourceStops the build with the given number.- Overrides:
abortin classComponentSource- Throws:
PipelineException
-
proceedInput
Proceeds the input step the task with the given id is waiting at, or the run's first pending one, as its "Proceed" button would; the step checks who may. The id of a task of a started run carries the run's id as a prefix, up to the last slash.- Overrides:
proceedInputin classComponentSource- Throws:
PipelineException
-