Class 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 Detail

      • SCMStep

        public SCMStep()
    • Method Detail

      • 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()