java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.FlowDefinition>
org.jenkinsci.plugins.workflow.flow.FlowDefinition
org.jenkinsci.plugins.workflow.multibranch.SCMBinder
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.flow.FlowDefinition>

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class SCMBinder extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
Checks out the desired version of the script referred to by scriptPath.
  • Field Details

    • USE_HEAVYWEIGHT_CHECKOUT

      public static boolean USE_HEAVYWEIGHT_CHECKOUT
      Kill switch for JENKINS-33273 in case of problems.
  • Constructor Details

    • SCMBinder

      public SCMBinder(String scriptPath)
  • Method Details

    • readResolve

      public Object readResolve()
    • create

      public org.jenkinsci.plugins.workflow.flow.FlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle, TaskListener listener, List<? extends Action> actions) throws Exception
      Overrides:
      create in class org.jenkinsci.plugins.workflow.flow.FlowDefinition
      Throws:
      Exception