Class AbstractPipelineListener
java.lang.Object
io.jenkins.plugins.opentelemetry.job.jenkins.AbstractPipelineListener
- All Implemented Interfaces:
PipelineListener
- Direct Known Subclasses:
MonitoringPipelineListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onAfterAtomicStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode stepAtomNode, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just after the atomic stepvoid
onAfterStartNodeStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String nodeLabel, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just after the `node` step starts.void
onAtomicStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode node, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the atomic step startsvoid
onEndNodeStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode nodeStepEndNode, String nodeName, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just after the `node` step endsvoid
onEndParallelStepBranch
(org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode stepStepNode, String branchName, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `parallel` branch endsvoid
onEndPipeline
(org.jenkinsci.plugins.workflow.graph.FlowNode node, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just after the pipeline endsvoid
onEndStageStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode stageStepEndNode, String stageName, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just after the `stage` step endsvoid
onEndWithNewSpanStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode nodeStepEndNode, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `withNewSpan` step endsvoid
onStartNodeStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String nodeLabel, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `node` step starts.void
onStartParallelStepBranch
(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String branchName, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `parallel` branch startsvoid
onStartPipeline
(org.jenkinsci.plugins.workflow.graph.FlowNode node, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the pipeline startsvoid
onStartStageStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String stageName, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `stage`step startsvoid
onStartWithNewSpanStep
(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `withNewSpan` step starts
-
Constructor Details
-
AbstractPipelineListener
public AbstractPipelineListener()
-
-
Method Details
-
onStartPipeline
public void onStartPipeline(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the pipeline starts- Specified by:
onStartPipeline
in interfacePipelineListener
-
onStartNodeStep
public void onStartNodeStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, @Nullable String nodeLabel, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the `node` step starts.- Specified by:
onStartNodeStep
in interfacePipelineListener
-
onStartStageStep
public void onStartStageStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, @NonNull String stageName, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the `stage`step starts- Specified by:
onStartStageStep
in interfacePipelineListener
-
onAfterStartNodeStep
public void onAfterStartNodeStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, @Nullable String nodeLabel, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just after the `node` step starts.- Specified by:
onAfterStartNodeStep
in interfacePipelineListener
-
onEndNodeStep
public void onEndNodeStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode nodeStepEndNode, @NonNull String nodeName, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just after the `node` step ends- Specified by:
onEndNodeStep
in interfacePipelineListener
-
onEndStageStep
public void onEndStageStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode stageStepEndNode, @NonNull String stageName, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just after the `stage` step ends- Specified by:
onEndStageStep
in interfacePipelineListener
-
onStartWithNewSpanStep
public void onStartWithNewSpanStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the `withNewSpan` step starts- Specified by:
onStartWithNewSpanStep
in interfacePipelineListener
-
onEndWithNewSpanStep
public void onEndWithNewSpanStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode nodeStepEndNode, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the `withNewSpan` step ends- Specified by:
onEndWithNewSpanStep
in interfacePipelineListener
-
onAtomicStep
public void onAtomicStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode node, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the atomic step starts- Specified by:
onAtomicStep
in interfacePipelineListener
-
onAfterAtomicStep
public void onAfterAtomicStep(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode stepAtomNode, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just after the atomic step- Specified by:
onAfterAtomicStep
in interfacePipelineListener
-
onStartParallelStepBranch
public void onStartParallelStepBranch(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, @NonNull String branchName, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the `parallel` branch starts- Specified by:
onStartParallelStepBranch
in interfacePipelineListener
-
onEndParallelStepBranch
public void onEndParallelStepBranch(@NonNull org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode stepStepNode, @NonNull String branchName, org.jenkinsci.plugins.workflow.graph.FlowNode nextNode, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just before the `parallel` branch ends- Specified by:
onEndParallelStepBranch
in interfacePipelineListener
-
onEndPipeline
public void onEndPipeline(@NonNull org.jenkinsci.plugins.workflow.graph.FlowNode node, @NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Description copied from interface:PipelineListener
Just after the pipeline ends- Specified by:
onEndPipeline
in interfacePipelineListener
-