public class PipelineVersionContributor
extends hudson.tasks.BuildWrapper
Modifier and Type | Class and Description |
---|---|
static class |
PipelineVersionContributor.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static String |
VERSION_PARAMETER |
Constructor and Description |
---|
PipelineVersionContributor(boolean updateDisplayName,
String versionTemplate) |
Modifier and Type | Method and Description |
---|---|
static String |
getVersion(hudson.model.AbstractBuild build) |
String |
getVersionTemplate() |
boolean |
isUpdateDisplayName() |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
public static final String VERSION_PARAMETER
@DataBoundConstructor public PipelineVersionContributor(boolean updateDisplayName, String versionTemplate)
public String getVersionTemplate()
public boolean isUpdateDisplayName()
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
setUp
in class hudson.tasks.BuildWrapper
IOException
InterruptedException
@CheckForNull public static String getVersion(hudson.model.AbstractBuild build)
Copyright © 2016–2020 Diabol AB. All rights reserved.