Class SCMStep
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidcheckout(Run<?, ?> run, FilePath workspace, TaskListener listener, Launcher launcher) protected abstract SCMbooleanbooleanisPoll()voidsetChangelog(boolean changelog) voidsetPoll(boolean poll) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
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:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-
createSCM
-
checkout
public final void checkout(Run<?, ?> run, FilePath workspace, TaskListener listener, Launcher launcher) throws Exception- Throws:
Exception
-