@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 |
| Constructor and Description |
|---|
ReleaseStep(String job) |
| Modifier and Type | Method and Description |
|---|---|
String |
getJob()
Gets full name of the job to be released
|
List<hudson.model.ParameterValue> |
getParameters() |
void |
setJob(String job) |
void |
setParameters(List<hudson.model.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<hudson.model.ParameterValue> getParameters()
@DataBoundSetter public void setParameters(List<hudson.model.ParameterValue> parameters)
Copyright © 2016–2017. All rights reserved.