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.StepPipeline step implementation for the Release plugin.- Since:
- 2.7
- Author:
- Alexey Merezhin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReleaseStep.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 StringgetJob()Gets full name of the job to be releasedList<ParameterValue>getParameters()voidsetJob(String job)voidsetParameters(List<ParameterValue> parameters)org.jenkinsci.plugins.workflow.steps.StepExecutionstart(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.
nullif it is not specified in the Pipeline definition.nullwill 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)
-
-