Class LastBuildWithArtifactSelector

All Implemented Interfaces:
ExtensionPoint, Describable<BuildSelector>

public class LastBuildWithArtifactSelector extends BuildSelector
  • Constructor Details

    • LastBuildWithArtifactSelector

      @DataBoundConstructor public LastBuildWithArtifactSelector()
  • Method Details

    • 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.
      isSelectable in class BuildSelector
      run - Build to check
      env - Environment for build that is copying artifacts
      True to select this build