Package jenkins.plugins.git
Class GitStep
- 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
-
- jenkins.plugins.git.GitStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public final class GitStep extends org.jenkinsci.plugins.workflow.steps.scm.SCMStep
Runs Git usingGitSCM
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitStep.DescriptorImpl
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.steps.scm.SCMStep
org.jenkinsci.plugins.workflow.steps.scm.SCMStep.SCMStepDescriptor, org.jenkinsci.plugins.workflow.steps.scm.SCMStep.StepExecutionImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SCM
createSCM()
String
getBranch()
String
getCredentialsId()
String
getUrl()
void
setBranch(String branch)
void
setCredentialsId(String credentialsId)
-
-
-
Constructor Detail
-
GitStep
@DataBoundConstructor public GitStep(String url)
-
-
Method Detail
-
getUrl
public String getUrl()
-
getBranch
public String getBranch()
-
getCredentialsId
public String getCredentialsId()
-
setBranch
@DataBoundSetter public void setBranch(String branch)
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(String credentialsId)
-
createSCM
public SCM createSCM()
- Specified by:
createSCM
in classorg.jenkinsci.plugins.workflow.steps.scm.SCMStep
-
-