@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class ReleaseStep
extends org.jenkinsci.plugins.workflow.steps.Step
Modifier and Type | Class and Description |
---|---|
static class |
ReleaseStep.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ReleaseStep(String job) |
Modifier and Type | Method and Description |
---|---|
String |
getJob()
Gets full name of the job to be released
|
List<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) |
@DataBoundConstructor public ReleaseStep(String job)
@CheckForNull public String getJob()
null
if it is not specified in the Pipeline definition.
null
will cause the build failure.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public void setJob(String job)
public List<ParameterValue> getParameters()
@DataBoundSetter public void setParameters(List<ParameterValue> parameters)
Copyright © 2016–2022. All rights reserved.