public class StatusBuildSelector extends BuildSelector
Modifier and Type | Class and Description |
---|---|
static class |
StatusBuildSelector.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static Descriptor<BuildSelector> |
DESCRIPTOR
Deprecated.
here for backward compatibility. Get it from
Jenkins.getDescriptor(Class) |
Constructor and Description |
---|
StatusBuildSelector() |
StatusBuildSelector(boolean stable)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isStable() |
void |
setStable(boolean stable) |
getArtifacts, getBuild, getBuild, getSourceDirectory, isBuildResultBetterOrEqualTo
getDescriptor
@Deprecated public static Descriptor<BuildSelector> DESCRIPTOR
Jenkins.getDescriptor(Class)
@Deprecated public StatusBuildSelector(boolean stable)
@DataBoundConstructor public StatusBuildSelector()
@DataBoundSetter public void setStable(boolean stable)
public boolean isStable()
public boolean isSelectable(Run<?,?> run, EnvVars env)
BuildSelector
isSelectable
in class BuildSelector
run
- Build to checkenv
- Environment for build that is copying artifactsCopyright © 2016–2022. All rights reserved.