java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.steps.scm.SCMStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>
Direct Known Subclasses:
GenericSCMStep

public abstract class SCMStep extends org.jenkinsci.plugins.workflow.steps.Step
A step which uses some kind of SCM.
  • Constructor Details

    • SCMStep

      public SCMStep()
  • Method Details

    • isPoll

      public boolean isPoll()
    • setPoll

      @DataBoundSetter public void setPoll(boolean poll)
    • isChangelog

      public boolean isChangelog()
    • setChangelog

      @DataBoundSetter public void setChangelog(boolean changelog)
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception
    • createSCM

      @NonNull protected abstract SCM createSCM()
    • checkout

      public final void checkout(Run<?,?> run, FilePath workspace, TaskListener listener, Launcher launcher) throws Exception
      Throws:
      Exception