Class SCMBasedRetriever

All Implemented Interfaces:
ExtensionPoint, Describable<LibraryRetriever>
Direct Known Subclasses:
SCMRetriever, SCMSourceRetriever

public abstract class SCMBasedRetriever extends LibraryRetriever
Functionality common to SCMSourceRetriever and SCMRetriever.
  • Field Details

    • INCLUDE_SRC_TEST_IN_LIBRARIES

      public static boolean INCLUDE_SRC_TEST_IN_LIBRARIES
  • Constructor Details

    • SCMBasedRetriever

      public SCMBasedRetriever()
  • Method Details

    • isClone

      public boolean isClone()
    • setClone

      @DataBoundSetter public void setClone(boolean clone)
    • getLibraryPath

      public String getLibraryPath()
    • setLibraryPath

      @DataBoundSetter public void setLibraryPath(String libraryPath)
    • doRetrieve

      protected final void doRetrieve(String name, boolean changelog, @NonNull SCM scm, FilePath target, Run<?,?> run, TaskListener listener) throws Exception
      Throws:
      Exception
    • retrySCMOperation

      protected static <T> T retrySCMOperation(TaskListener listener, Callable<T> task) throws Exception
      Throws:
      Exception