hudson.plugins.copyartifact
Class WorkspaceSelector
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildSelector>
hudson.plugins.copyartifact.BuildSelector
hudson.plugins.copyartifact.WorkspaceSelector
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<BuildSelector>
public class WorkspaceSelector
- extends BuildSelector
Copy artifacts from the *workspace* of the latest completed build.
- Author:
- Alan Harder
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Method Summary |
boolean |
isSelectable(hudson.model.Run<?,?> run,
hudson.EnvVars env)
Should this build be selected? Override just this method to use a standard
loop through completed builds, starting with the most recent. |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR
@Extension(ordinal=-20.0)
public static final hudson.model.Descriptor<BuildSelector> DESCRIPTOR
WorkspaceSelector
@DataBoundConstructor
public WorkspaceSelector()
isSelectable
public boolean isSelectable(hudson.model.Run<?,?> run,
hudson.EnvVars env)
- Description copied from class:
BuildSelector
- Should this build be selected? Override just this method to use a standard
loop through completed builds, starting with the most recent.
- Overrides:
isSelectable in class BuildSelector
- Parameters:
run - Build to checkenv - Environment for build that is copying artifacts
- Returns:
- True to select this build
Copyright © 2004-2012 Hudson. All Rights Reserved.