public static class NextVersionStep.Execution extends org.jenkinsci.plugins.workflow.steps.SynchronousStepExecution<String>
| Modifier | Constructor and Description |
|---|---|
protected |
Execution(String outputFormat,
String startTag,
String buildMetadata,
boolean writeVersion,
String preRelease,
boolean preservePreRelease,
boolean incrementPreRelease,
boolean nonAnnotatedTag,
org.jenkinsci.plugins.workflow.steps.StepContext context)
Constructor with fields initialisation.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
run() |
start, stopprotected Execution(String outputFormat, String startTag, String buildMetadata, boolean writeVersion, String preRelease, boolean preservePreRelease, boolean incrementPreRelease, boolean nonAnnotatedTag, @Nonnull org.jenkinsci.plugins.workflow.steps.StepContext context)
outputFormat - Output format for the next versionstartTag - Git tagbuildMetadata - Add meta date to the version.writeVersion - Should write the new version in the file.preRelease - Pre release information to addpreservePreRelease - Keep existing prerelease information or notincrementPreRelease - Increment prerelease information or notnonAnnotatedTag - Should use or non annotated tagscontext - Jenkins contextCopyright © 2016–2022. All rights reserved.