Package org.jenkinsci.plugins.workflow.cps
package org.jenkinsci.plugins.workflow.cps
-
ClassDescriptionBuilder pattern for accumulating configuration for executing the body.
CpsClosure
that intercepts thesleep
call so that it gets handled via SleepStep, instead ofDefaultGroovyStaticMethods.sleep(Object, long)
that Groovy adds toObject
.An exception that replaces Groovy'sMultipleCompilationErrorsException
, because that is not serializable (which would, under certain circumstances, lead to the user being presented with aNotSerializableException
instead of a compilation error -- see JENKINS-40109).FlowExecution
implemented with Groovy CPS.Deprecated.Action
that can be passed toFlowDefinition.create(FlowExecutionOwner, List)
that can take over the instantiation ofCpsFlowExecution
.The script of a workflow.StepContext
implementation for CPS.Represents aContinuable
that is either runnable or suspended (that waits for an external event.)Immutable snapshot of a state ofCpsThreadGroup
.Shows thread dump forCpsFlowExecution
.List ofCpsThread
s that form a singleCpsFlowExecution
.Indicates that the method is only meant to be called by a thread that runsCpsThreadGroup.runner
CallsStep
s and other DSL objects.Defines a provider of a global variable offered to flows.Extension point that defines a collection of global variables.AllowGlobalVariable
s to be defined withExtension
, and make them discoverable viaGlobalVariableSet
.A sample Pipeline Groovy script to appear in the<wfe:workflow-editor/>
.Hook to customize the behaviour ofGroovyShell
used to run workflow scripts.Determines what Groovy source files can be loaded in Pipelines.Allows Groovy source files used to implement DSLs in plugins that were created beforeGroovySourceFileAllowlist
was introduced.Allows selected classes to be ignored for purposes ofLoggingInvoker.isInternal(java.lang.Class<?>)
.Generated localization support class.Allows access toParametersAction
.Allows a running flow to be paused or unpaused.Parent class for transientAction
s of running pipeline builds.Adds actions to the sidebar of a running Pipeline build.Safepoint called from the CPS interpreter.Takes aStep
as configured through the UI and tries to produce equivalent Groovy code.May be added to various contexts to offer the Pipeline Groovy link where it is appropriate.Represents a step or other step-like objects that should appear inSnippetizer
’s main dropdown list and can generate some fragment of Pipeline script.A link that will show up on the side panel of the snippet generator and other similar pages.Execute something in at the point where all CPS threads are at a safe point.Indicates the next step after theThreadTask
has run.Some steps have complex argument types (e.g.
CpsFlowFactoryAction2
instead.