Package hudson.plugins.copyartifact
Class SavedBuildSelector
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildSelector>
-
- hudson.plugins.copyartifact.BuildSelector
-
- hudson.plugins.copyartifact.SavedBuildSelector
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildSelector>
public class SavedBuildSelector extends BuildSelector
Copy artifacts from the latest saved build (marked "keep forever").- Author:
- Alan Harder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SavedBuildSelector.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static Descriptor<BuildSelector>
DESCRIPTOR
Deprecated.here for backward compatibility.
-
Constructor Summary
Constructors Constructor Description SavedBuildSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isSelectable(Run<?,?> run, 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.plugins.copyartifact.BuildSelector
getArtifacts, getBuild, getBuild, getSourceDirectory, isBuildResultBetterOrEqualTo
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
DESCRIPTOR
@Deprecated public static Descriptor<BuildSelector> DESCRIPTOR
Deprecated.here for backward compatibility. Get it fromJenkins.getDescriptor(Class)
-
-
Method Detail
-
isSelectable
protected boolean isSelectable(Run<?,?> run, 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 classBuildSelector
- Parameters:
run
- Build to checkenv
- Environment for build that is copying artifacts- Returns:
- True to select this build
-
-