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

    Constructors
    Constructor
    Description
    Constructor
    PipelineCpsScmFlowDefinition(SCM scm, String scriptPath, boolean lightweight)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PipelineCpsScmFlowDefinition

      public PipelineCpsScmFlowDefinition(SCM scm, String scriptPath, boolean lightweight)
      Constructor
      Parameters:
      scm - SCM Definition
      scriptPath - Path of the yaml file in SVM
      lightweight - LightWeight Checkout Flag
    • PipelineCpsScmFlowDefinition

      public PipelineCpsScmFlowDefinition(SCM scm, String scriptPath)
      Constructor
      Parameters:
      scm - SCM Definition
      scriptPath - 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 class org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition
      Throws:
      Exception