Extension Points defined in Pipeline: API Plugin

This site is the new docs site currently being tested. For the actual docs in use please go to https://www.jenkins.io/doc.

DurabilityHintProvider

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.DurabilityHintProvider]

Provides a way to indirectly register durability settings to apply to pipelines.

Implementations:

ErrorCondition

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.ErrorCondition]

User-configurable predicate for errors that may occur during a build. Implementations could check for agent-related outages, for example. Step callers could use a condition to decide whether to ignore or report an error, retry, etc.

Implementations:

FlowCopier

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.FlowCopier]

A way for plugins to copy metadata and associated files from one flow execution to another. Useful when a new execution is not being created from scratch, but is a kind of clone of another.

Implementations:

FlowDefinition

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.FlowDefinition]

Actual executable script.

Implementations:

FlowExecutionListener

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.FlowExecutionListener]

Listens for significant status updates for a jenkinsdoc:FlowExecution] , such as started running or completed.

Implementations:

FlowNodeViewColumn

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.visualization.table.FlowNodeViewColumn]

Extension point for adding a column to a table rendering of jenkinsdoc:FlowNode] s.

Implementations:

FlowNodeViewColumnDescriptor

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.visualization.table.FlowNodeViewColumnDescriptor]

jenkinsdoc:Descriptor] for jenkinsdoc:FlowNodeViewColumn] .

Implementations:

GraphListener

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.GraphListener]

{@code GraphListener}s can be used in two different ways: either as an jenkinsdoc:Extension] , which will have its jenkinsdoc:=onNewHead(FlowNode)] fired for every jenkinsdoc:FlowExecution] , or by instantiation and being passed to jenkinsdoc:FlowExecution=addListener(GraphListener)] , in which case only events for that specific jenkinsdoc:FlowExecution] will be fired.

Implementations:

LogStorageFactory

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.log.LogStorageFactory]

Factory interface for jenkinsdoc:LogStorage] .

Implementations:

PickleFactory

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.pickles.PickleFactory]

Provides a way of converting transient objects into jenkinsdoc:Pickle] s.

Implementations:

StashManager.StashBehavior

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.StashManager.StashBehavior]

Extension point for customizing behavior of stashes from other plugins.

Implementations:

(no known implementations)

StepListener

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.flow.StepListener]

jenkinsdoc:StepListener] s are fired before invoking a step but after the jenkinsdoc:FlowNode] has been created and the jenkinsdoc:StepContext] has been populated. A jenkinsdoc:StepListener] can perform actions before the jenkinsdoc:Step] is executed, such as calling jenkinsdoc:StepContext=onFailure] to make the step fail before it starts.

Implementations:

TaskListenerDecorator.Factory

jenkinsdoc:workflow-api:org.jenkinsci.plugins.workflow.log.TaskListenerDecorator.Factory]

Allows a decorator to be applied to any build.

Implementations: