public class NextVersionStep
extends org.jenkinsci.plugins.workflow.steps.Step
| Modifier and Type | Class and Description |
|---|---|
static class |
NextVersionStep.DescriptorImpl
This Class implements the abstract class StepDescriptor.
|
static class |
NextVersionStep.Execution
This class extends Step Execution class, contains the run method.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
NextVersionStep() |
| Modifier and Type | Method and Description |
|---|---|
void |
setBuildMetadata(String buildMetadata) |
void |
setIncrementPreRelease(boolean incrementPreRelease) |
void |
setOutputFormat(String outputFormat) |
void |
setPreRelease(String preRelease) |
void |
setPreservePreRelease(boolean preservePreRelease) |
void |
setStartTag(String startTag) |
void |
setWriteVersion(boolean writeVersion) |
org.jenkinsci.plugins.workflow.steps.StepExecution |
start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) |
static String |
stdout(InputStream in)
Reads data from stdout.
|
public static String stdout(InputStream in) throws IOException
in - InputStream object.IOException - If an error occur reading files.@DataBoundSetter public void setOutputFormat(String outputFormat)
@DataBoundSetter public void setStartTag(String startTag)
@DataBoundSetter public void setBuildMetadata(String buildMetadata)
@DataBoundSetter public void setWriteVersion(boolean writeVersion)
@DataBoundSetter public void setPreRelease(String preRelease)
@DataBoundSetter public void setPreservePreRelease(boolean preservePreRelease)
@DataBoundSetter public void setIncrementPreRelease(boolean incrementPreRelease)
Copyright © 2016–2021. All rights reserved.