hudson.maven
Class MavenRedeployer
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
hudson.maven.MavenRedeployer
- All Implemented Interfaces:
- ExtensionPoint, Describable<Publisher>, BuildStep
public class MavenRedeployer
- extends Notifier
Publisher for Maven projects to deploy artifacts to a Maven repository
after the fact.
When a build breaks in the middle, this is a convenient way to prevent
modules from being deployed partially. This can be combined with promoted builds
plugin to deploy artifacts after testing, for example.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
public static final MavenRedeployer.DescriptorImpl DESCRIPTOR
MavenRedeployer
public MavenRedeployer()
perform
public boolean perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform in interface BuildStep- Overrides:
perform in class BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
getDescriptor
public BuildStepDescriptor getDescriptor()
- Specified by:
getDescriptor in interface Describable<Publisher>- Overrides:
getDescriptor in class Notifier
Copyright © 2004-2011. All Rights Reserved.