org.jvnet.hudson.plugins.repositoryconnector
Class ArtifactDeployer
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
org.jvnet.hudson.plugins.repositoryconnector.ArtifactDeployer
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, Serializable
public class ArtifactDeployer
- extends hudson.tasks.Notifier
- implements Serializable
This builder allows to resolve artifacts from a repository and copy it to any location.
- Author:
- domi
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
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 |
overwriteSecurity
public final UserPwd overwriteSecurity
enableRepoLogging
public boolean enableRepoLogging
repoId
public final String repoId
snapshotRepoId
public final String snapshotRepoId
artifacts
public List<Artifact> artifacts
DESCRIPTOR
@Extension
public static final ArtifactDeployer.DescriptorImpl DESCRIPTOR
ArtifactDeployer
@DataBoundConstructor
public ArtifactDeployer(List<Artifact> artifacts,
String repoId,
String snapshotRepoId,
UserPwd overwriteSecurity,
boolean enableRepoLogging)
enableRepoLogging
public boolean enableRepoLogging()
isOverwriteSecurity
public boolean isOverwriteSecurity()
getUserName
public String getUserName()
getPassword
public String getPassword()
getRepos
public Collection<Repository> getRepos()
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interface hudson.tasks.BuildStep
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
getDescriptor
public ArtifactDeployer.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
- Overrides:
getDescriptor
in class hudson.tasks.Notifier
Copyright © 2010-2014. All Rights Reserved.