hudson.plugins.copyartifact
Class CopyArtifact
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.copyartifact.CopyArtifact
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class CopyArtifact
- extends hudson.tasks.Builder
Build step to copy artifacts from another project.
- Author:
- Alan Harder
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.tasks.Builder |
all, getDescriptor, getRequiredMonitorService, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, 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 |
CopyArtifact
@DataBoundConstructor
public CopyArtifact(String projectName,
BuildSelector selector,
String filter,
String target,
boolean flatten,
boolean optional)
getProjectName
public String getProjectName()
getBuildSelector
public BuildSelector getBuildSelector()
getFilter
public String getFilter()
getTarget
public String getTarget()
isFlatten
public boolean isFlatten()
isOptional
public boolean isOptional()
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
Copyright © 2004-2012 Hudson. All Rights Reserved.