org.hudsonci.maven.plugin.artifactrecorder
Class ArtifactArchiver
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
org.hudsonci.maven.plugin.artifactrecorder.ArtifactArchiver
- All Implemented Interfaces:
- ExtensionPoint, Describable<Publisher>, BuildStep
public class ArtifactArchiver
- extends Recorder
Archives artifacts collected from a MavenBuilder.
- Since:
- 2.1.0
- Author:
- Jamie Whitehouse
|
Constructor Summary |
ArtifactArchiver(boolean includePomArtifacts,
boolean deleteOldArchiveArtifacts)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactArchiver
@DataBoundConstructor
public ArtifactArchiver(boolean includePomArtifacts,
boolean deleteOldArchiveArtifacts)
isIncludePomArtifacts
@JellyAccessible
public boolean isIncludePomArtifacts()
isDeleteOldArchiveArtifacts
@JellyAccessible
public boolean isDeleteOldArchiveArtifacts()
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
getDescriptor
public ArtifactArchiver.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor in interface Describable<Publisher>- Overrides:
getDescriptor in class Recorder
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
Copyright © 2004-2011 Hudson. All Rights Reserved.