Package hudson.maven.local_repo
Class PerJobLocalRepositoryLocator
java.lang.Object
hudson.model.AbstractDescribableImpl<LocalRepositoryLocator>
hudson.maven.local_repo.LocalRepositoryLocator
hudson.maven.local_repo.PerJobLocalRepositoryLocator
- All Implemented Interfaces:
ExtensionPoint,Describable<LocalRepositoryLocator>
Uses a local repository isolated per job.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlocate(AbstractMavenBuild build) Called during the build on the controller to determine the location of the local Maven repository.Methods inherited from class hudson.maven.local_repo.LocalRepositoryLocator
getDescriptor
-
Constructor Details
-
PerJobLocalRepositoryLocator
@DataBoundConstructor public PerJobLocalRepositoryLocator()
-
-
Method Details
-
locate
Description copied from class:LocalRepositoryLocatorCalled during the build on the controller to determine the location of the local Maven repository.- Specified by:
locatein classLocalRepositoryLocator- Returns:
- null to let Maven uses its default location. Otherwise this must be located on the same
node as
AbstractBuild.getWorkspace()does.
-