Package hudson.plugins.release.pipeline
Class ReleaseStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- hudson.plugins.release.pipeline.ReleaseStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class ReleaseStep extends org.jenkinsci.plugins.workflow.steps.Step
Pipeline step implementation for the Release plugin.- Since:
- 2.7
- Author:
- Alexey Merezhin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReleaseStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ReleaseStep(String job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getJob()
Gets full name of the job to be releasedList<ParameterValue>
getParameters()
void
setJob(String job)
void
setParameters(List<ParameterValue> parameters)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext)
-
-
-
Constructor Detail
-
ReleaseStep
@DataBoundConstructor public ReleaseStep(String job)
-
-
Method Detail
-
getJob
@CheckForNull public String getJob()
Gets full name of the job to be released- Returns:
- Full name of the job.
null
if it is not specified in the Pipeline definition.null
will cause the build failure.
-
setJob
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setJob(String job)
-
getParameters
public List<ParameterValue> getParameters()
-
setParameters
@DataBoundSetter public void setParameters(List<ParameterValue> parameters)
-
-