hudson.plugins.release
Class ReleaseWrapper
java.lang.Object
hudson.tasks.BuildWrapper
hudson.plugins.release.ReleaseWrapper
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>
public class ReleaseWrapper
- extends hudson.tasks.BuildWrapper
Wraps a build with pre and post build steps. These steps can take
any action as part of the special release build.
- Since:
- 1.0
- Author:
- Peter Hayes
| Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper |
hudson.tasks.BuildWrapper.Environment |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class hudson.tasks.BuildWrapper |
all, decorateLauncher, getDescriptor, setUp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReleaseWrapper
public ReleaseWrapper()
getParameterDefinitions
public java.util.List<hudson.model.ParameterDefinition> getParameterDefinitions()
setParameterDefinitions
public void setParameterDefinitions(java.util.List<hudson.model.ParameterDefinition> parameterDefinitions)
getPreBuildSteps
public java.util.List<hudson.tasks.Builder> getPreBuildSteps()
- Returns:
- Returns the preBuildSteps.
setPreBuildSteps
public void setPreBuildSteps(java.util.List<hudson.tasks.Builder> preBuildSteps)
- Parameters:
preBuildSteps - The preBuildSteps to set.
getPostBuildSteps
public java.util.List<hudson.tasks.Builder> getPostBuildSteps()
- Returns:
- Returns the postBuildSteps.
setPostBuildSteps
public void setPostBuildSteps(java.util.List<hudson.tasks.Builder> postSuccessBuildSteps)
- Parameters:
postBuildSteps - The postBuildSteps to set.
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject job)
- Overrides:
getProjectAction in class hudson.tasks.BuildWrapper
setUp
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
setUp in class hudson.tasks.BuildWrapper
- Throws:
java.io.IOException
java.lang.InterruptedException
hasReleasePermission
public static boolean hasReleasePermission(hudson.model.AbstractProject job)
checkReleasePermission
public static void checkReleasePermission(hudson.model.AbstractProject job)
Copyright © 2009. All Rights Reserved.