Class StatusBuildSelector

All Implemented Interfaces:
ExtensionPoint, Describable<BuildSelector>

public class StatusBuildSelector extends BuildSelector
Copy artifacts from the latest successful or stable build.
Author:
Alan Harder
  • Field Details

  • Constructor Details

    • StatusBuildSelector

      @Deprecated public StatusBuildSelector(boolean stable)
      Deprecated.
    • StatusBuildSelector

      @DataBoundConstructor public StatusBuildSelector()
  • Method Details

    • setStable

      @DataBoundSetter public void setStable(boolean stable)
    • isStable

      public boolean isStable()
    • isSelectable

      public 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 class BuildSelector
      Parameters:
      run - Build to check
      env - Environment for build that is copying artifacts
      Returns:
      True to select this build