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>
public class PerJobLocalRepositoryLocator extends LocalRepositoryLocator
Uses a local repository isolated per job.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PerJobLocalRepositoryLocator.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PerJobLocalRepositoryLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilePath
locate(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
-
-
-
-
Method Detail
-
locate
public FilePath locate(AbstractMavenBuild build)
Description copied from class:LocalRepositoryLocator
Called during the build on the controller to determine the location of the local Maven repository.- Specified by:
locate
in classLocalRepositoryLocator
- Returns:
- null to let Maven uses its default location. Otherwise this must be located on the same
node as
AbstractBuild.getWorkspace()
does.
-
-