Package io.jenkins.plugins.pipeline.cps
Class PipelineCpsScmFlowDefinition
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinition
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition
io.jenkins.plugins.pipeline.cps.PipelineCpsScmFlowDefinition
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
public class PipelineCpsScmFlowDefinition
extends org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition
Extended CpsFlowDefinition for Pipeline As Yaml from SCM in Pipeline Job
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition
org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.DescriptorImpl
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionPipelineCpsScmFlowDefinition
(SCM scm, String scriptPath) ConstructorPipelineCpsScmFlowDefinition
(SCM scm, String scriptPath, boolean lightweight) Constructor -
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.CpsScmFlowDefinition
getScm, getSCMs, getScriptPath, isLightweight, setLightweight
Methods inherited from class org.jenkinsci.plugins.workflow.flow.FlowDefinition
create, getDescriptor
-
Constructor Details
-
PipelineCpsScmFlowDefinition
Constructor- Parameters:
scm
- SCM DefinitionscriptPath
- Path of the yaml file in SVMlightweight
- LightWeight Checkout Flag
-
PipelineCpsScmFlowDefinition
Constructor- Parameters:
scm
- SCM DefinitionscriptPath
- Path of the yaml file in SVM
-
-
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 Exception - Overrides:
create
in classorg.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition
- Throws:
Exception
-