Class SCMBasedRetriever
java.lang.Object
hudson.model.AbstractDescribableImpl<LibraryRetriever>
org.jenkinsci.plugins.workflow.libs.LibraryRetriever
org.jenkinsci.plugins.workflow.libs.SCMBasedRetriever
- All Implemented Interfaces:
ExtensionPoint
,Describable<LibraryRetriever>
- Direct Known Subclasses:
SCMRetriever
,SCMSourceRetriever
Functionality common to
SCMSourceRetriever
and SCMRetriever
.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
static class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
doRetrieve
(String name, boolean changelog, SCM scm, FilePath target, Run<?, ?> run, TaskListener listener) boolean
isClone()
protected static <T> T
retrySCMOperation
(TaskListener listener, Callable<T> task) void
setClone
(boolean clone) void
setLibraryPath
(String libraryPath) Methods inherited from class org.jenkinsci.plugins.workflow.libs.LibraryRetriever
getDescriptor, retrieve, retrieve, validateVersion, validateVersion
-
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
-
setLibraryPath
-
doRetrieve
protected final void doRetrieve(String name, boolean changelog, @NonNull SCM scm, FilePath target, Run<?, ?> run, TaskListener listener) throws Exception- Throws:
Exception
-
retrySCMOperation
- Throws:
Exception
-