hudson.maven
Class MavenRedeployer

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by 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

Nested Class Summary
static class MavenRedeployer.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
 
Field Summary
static MavenRedeployer.DescriptorImpl DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
MavenRedeployer()
           
 
Method Summary
 BuildStepDescriptor getDescriptor()
           
 BuildStepMonitor getRequiredMonitorService()
           
 boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, prebuild
 

Field Detail

DESCRIPTOR

public static final MavenRedeployer.DescriptorImpl DESCRIPTOR
Constructor Detail

MavenRedeployer

public MavenRedeployer()
Method Detail

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.