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 TypeMethodDescriptionvoidonAfterAtomicStep(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 stepvoidonAfterStartNodeStep(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String nodeLabel, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just after the `node` step starts.voidonAtomicStep(org.jenkinsci.plugins.workflow.cps.nodes.StepAtomNode node, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the atomic step startsvoidonEndNodeStep(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 endsvoidonEndParallelStepBranch(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 endsvoidonEndPipeline(org.jenkinsci.plugins.workflow.graph.FlowNode node, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just after the pipeline endsvoidonEndStageStep(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 endsvoidonEndWithNewSpanStep(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 endsvoidonStartNodeStep(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String nodeLabel, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `node` step starts.voidonStartParallelStepBranch(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String branchName, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `parallel` branch startsvoidonStartPipeline(org.jenkinsci.plugins.workflow.graph.FlowNode node, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the pipeline startsvoidonStartStageStep(org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode stepStartNode, String stageName, org.jenkinsci.plugins.workflow.job.WorkflowRun run) Just before the `stage`step startsvoidonStartWithNewSpanStep(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:PipelineListenerJust before the pipeline starts- Specified by:
onStartPipelinein 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:PipelineListenerJust before the `node` step starts.- Specified by:
onStartNodeStepin 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:PipelineListenerJust before the `stage`step starts- Specified by:
onStartStageStepin 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:PipelineListenerJust after the `node` step starts.- Specified by:
onAfterStartNodeStepin 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:PipelineListenerJust after the `node` step ends- Specified by:
onEndNodeStepin 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:PipelineListenerJust after the `stage` step ends- Specified by:
onEndStageStepin 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:PipelineListenerJust before the `withNewSpan` step starts- Specified by:
onStartWithNewSpanStepin 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:PipelineListenerJust before the `withNewSpan` step ends- Specified by:
onEndWithNewSpanStepin 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:PipelineListenerJust before the atomic step starts- Specified by:
onAtomicStepin 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:PipelineListenerJust after the atomic step- Specified by:
onAfterAtomicStepin 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:PipelineListenerJust before the `parallel` branch starts- Specified by:
onStartParallelStepBranchin 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:PipelineListenerJust before the `parallel` branch ends- Specified by:
onEndParallelStepBranchin 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:PipelineListenerJust after the pipeline ends- Specified by:
onEndPipelinein interfacePipelineListener
-