GlobalVariable.forRun(hudson.model.Run<?, ?>)
insteadArgumentsAction
by storing step arguments, with sanitization.CpsStepContext
s.CompilerConfiguration
to provide opportunity to tweak the runtime environment further.GroovyShell
to further tweak its behaviours.CpsClosure
that intercepts the sleep
call so that it gets handled via SleepStep,
instead of DefaultGroovyStaticMethods.sleep(Object, long)
that Groovy adds to Object
.MultipleCompilationErrorsException
,
because that is not serializable (which would, under certain circumstances,
lead to the user being presented with a NotSerializableException
instead
of a compilation error -- see JENKINS-40109).FlowExecution
implemented with Groovy CPS.CpsFlowFactoryAction2
instead.Action
that can be passed to FlowDefinition.create(FlowExecutionOwner, List)
that can take over the instantiation of CpsFlowExecution
.CpsFlowExecution
.StepContext
implementation for CPS.Continuable
that is either runnable or suspended (that waits for an
external event.)CpsThreadGroup
.CpsFlowExecution
.CpsThread
s that form a single CpsFlowExecution
.CpsThreadGroup.runner
CpsThreadGroup
executes, this method returns CpsThread
that's running.ImportCustomizer
to auto-import more packages, etc.Step
s and other DSL objects.Map.entrySet()
.GlobalVariable
s for some context.GlobalVariable
s for some context.GroovyShellDecorator
used to decorate the trusted shell.Script1
.StepDescriptor
that represents the step this context is invoking.SnippetizerLink.getDisplayUrl()
.GlobalVariable
s to be defined with Extension
, and make them discoverable
via GlobalVariableSet
.<wfe:workflow-editor/>
.GroovyShell
used to run workflow scripts.CpsThreadGroup
.DSL.invokeMethod(String, Object)
is calling a generic Descriptor
Step
implementation specified by the name argument.DSL.invokeMethod(String, Object)
is calling a StepDescriptor
CpsFlowExecution.isComplete()
and FlowExecution.isComplete()
)Step
arguments in an ArgumentsAction
or simply discard them (if set to false, explicitly)ReplayAction.isEnabled()
that require a blocking load of the execution.GlobalVariableSet.forRun(hudson.model.Run<?, ?>)
insteadList.iterator()
.CpsThreadGroup
from CpsFlowExecution.getProgramDataFile()
if necessary.GroovyShellDecorator
that doesn't do anything.Snippetizer.object2Groovy(StringBuilder, Object, boolean)
that translates an object into
the equivalent Pipeline Groovy string.Snippetizer.object2Groovy(StringBuilder, Object, boolean)
that translates an object into
the equivalent Pipeline Groovy string.ReplayAction.run
.Step
implementation that executes multiple closures in parallel.ParametersAction
.build.xml
as a part of
Run
through XStream.Pipeline.Syntax
: Pipeline Syntax
.Replay.permission.description
: Ability to perform a
new Pipeline build with an edited script.
.Run
when it could be replayed with script edits.ReplayAction.displayName
: Replay
.ReplayCause.shortDescription
: Replayed #{0}
.ReplayCommand.shortDescription
: Replay a Pipeline
build with edited script taken from standard input
.DefaultGroovyStaticMethods.sleep(Object, long)
so that SleepStep
works even in the bare form sleep 5
.Step
as configured through the UI and tries to produce equivalent Groovy code.Snippetizer
’s main dropdown list
and can generate some fragment of Pipeline script.Snippetizer.this_step_should_not_normally_be_used_in
:
{@code This step should not normally be used in your script.SnippetizerLink.ExamplesLink.displayName
: Examples
Reference
.SnippetizerLink.GDSLLink.displayName
: IntelliJ IDEA
GDSL
.SnippetizerLink.GeneratorLink.displayName
: Snippet
Generator
.SnippetizerLink.GlobalsReferenceLink.displayName
: Global Variables Reference
.SnippetizerLink.OnlineDocsLink.displayName
: Online
Documentation
.SnippetizerLink.StepReferenceLink.displayName
: Steps Reference
.AtomNode
for executing Step
without body closure.StepStartNode
to designate the end of a step execution
that has the body.BlockStartNode
for executing Step
with body closure.CpsThreadDump.ThreadInfo
from a Throwable
that copies its
stack trace history.ThreadTask
has run.CpsThreadGroup.isPaused()
, cancel the pause state.Pipeline.Syntax
: Pipeline Syntax
.Replay.permission.description
: Ability to perform a
new Pipeline build with an edited script.
.ReplayAction.displayName
: Replay
.ReplayCause.shortDescription
: Replayed #{0}
.ReplayCommand.shortDescription
: Replay a Pipeline
build with edited script taken from standard input
.Snippetizer.this_step_should_not_normally_be_used_in
:
{@code This step should not normally be used in your script.SnippetizerLink.ExamplesLink.displayName
: Examples
Reference
.SnippetizerLink.GDSLLink.displayName
: IntelliJ IDEA
GDSL
.SnippetizerLink.GeneratorLink.displayName
: Snippet
Generator
.SnippetizerLink.GlobalsReferenceLink.displayName
: Global Variables Reference
.SnippetizerLink.OnlineDocsLink.displayName
: Online
Documentation
.SnippetizerLink.StepReferenceLink.displayName
: Steps Reference
.Copyright © 2016–2020. All rights reserved.