public class ReleaseWrapper extends BuildWrapper implements hudson.matrix.MatrixAggregatable
| Modifier and Type | Class and Description |
|---|---|
static class |
ReleaseWrapper.DescriptorImpl |
class |
ReleaseWrapper.ReleaseAction |
static class |
ReleaseWrapper.ReleaseAggregator
Aggregates releases in matrix projects.
|
static class |
ReleaseWrapper.ReleaseBuildBadgeAction |
BuildWrapper.EnvironmentExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Field and Description |
|---|---|
static PermissionGroup |
PERMISSIONS |
static List<PermalinkProjectAction.Permalink> |
RELEASE
List of
PermalinkProjectAction.Permalinks for release builds. |
static Permission |
RELEASE_PERMISSION
Permission to trigger release builds.
|
| Constructor and Description |
|---|
ReleaseWrapper() |
all, decorateLauncher, decorateLogger, getProjectAction, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUpgetDescriptorpublic static final PermissionGroup PERMISSIONS
public static final Permission RELEASE_PERMISSION
public static final List<PermalinkProjectAction.Permalink> RELEASE
PermalinkProjectAction.Permalinks for release builds.public String getReleaseVersionTemplate()
public void setReleaseVersionTemplate(String releaseVersionTemplate)
public boolean isDoNotKeepLog()
public void setDoNotKeepLog(boolean doNotKeepLog)
public boolean isOverrideBuildParameters()
public void setOverrideBuildParameters(boolean overrideBuildParameters)
public List<ParameterDefinition> getParameterDefinitions()
public void setParameterDefinitions(List<ParameterDefinition> parameterDefinitions)
public void setPreBuildSteps(List<BuildStep> preBuildSteps)
preBuildSteps - The preBuildSteps to set.public List<BuildStep> getPreMatrixBuildSteps()
public List<BuildStep> getPostMatrixBuildSteps()
public void setPostMatrixBuildSteps(List<BuildStep> postMatrixBuildSteps)
postMatrixBuildSteps - The postMatrixBuildSteps to set.public void setPostSuccessfulBuildSteps(List<BuildStep> postSuccessfulBuildSteps)
public void setPostSuccessfulMatrixBuildSteps(List<BuildStep> postSuccessfulMatrixBuildSteps)
public void setPostFailedMatrixBuildSteps(List<BuildStep> postFailedMatrixBuildSteps)
public Collection<? extends Action> getProjectActions(AbstractProject job)
getProjectActions in class BuildWrapperpublic hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
createAggregator in interface hudson.matrix.MatrixAggregatablepublic BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
setUp in class BuildWrapperIOExceptionInterruptedExceptionpublic static boolean hasReleasePermission(AbstractProject job)
public static void checkReleasePermission(AbstractProject job)
Copyright © 2016–2022. All rights reserved.