Package io.jenkins.plugins.pipeline.cps
Class PipelineCpsFlowDefinition
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinition
org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition
io.jenkins.plugins.pipeline.cps.PipelineCpsFlowDefinition
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
public class PipelineCpsFlowDefinition
extends org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition
Extended CpsFlowDefinition for Pipeline As Yaml from Script Editor
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition
org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition.DescriptorImpl
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.workflow.cps.CpsFlowExecution
create
(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) Methods inherited from class org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition
create, getScript, isSandbox
Methods inherited from class org.jenkinsci.plugins.workflow.flow.FlowDefinition
create, getDescriptor, getSCMs
-
Constructor Details
-
PipelineCpsFlowDefinition
Constructor- Parameters:
script
- Pipeline As Yaml SCriptsandbox
- Sandox Flag- Throws:
Descriptor.FormException
-
-
Method Details
-
create
public org.jenkinsci.plugins.workflow.cps.CpsFlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, TaskListener listener, List<? extends Action> actions) throws IOException - Overrides:
create
in classorg.jenkinsci.plugins.workflow.cps.CpsFlowDefinition
- Throws:
IOException
-