Class ArtifactDeployer
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- org.jvnet.hudson.plugins.repositoryconnector.ArtifactDeployer
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class ArtifactDeployer extends Notifier implements SimpleBuildStep
This builder allows to resolve artifacts from a repository and copy it to any location.- Author:
- domi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArtifactDeployer.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description ArtifactDeployer(List<Artifact> artifacts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Artifact>
getArtifacts()
String
getRepositoryId()
BuildStepMonitor
getRequiredMonitorService()
boolean
isEnableRepositoryLogging()
boolean
isEnableTransferLogging()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
void
setEnableRepositoryLogging(boolean enableRepositoryLogging)
void
setEnableTransferLogging(boolean enableTransferLogging)
void
setRepositoryId(String repositoryId)
-
Methods inherited from class hudson.tasks.Notifier
getDescriptor
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, 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, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getRepositoryId
public String getRepositoryId()
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
isEnableRepositoryLogging
public boolean isEnableRepositoryLogging()
-
isEnableTransferLogging
public boolean isEnableTransferLogging()
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
setEnableRepositoryLogging
@DataBoundSetter public void setEnableRepositoryLogging(boolean enableRepositoryLogging)
-
setEnableTransferLogging
@DataBoundSetter public void setEnableTransferLogging(boolean enableTransferLogging)
-
setRepositoryId
@DataBoundSetter public void setRepositoryId(String repositoryId)
-
-