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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerJobLocalRepositoryLocator
@DataBoundConstructor
public PerJobLocalRepositoryLocator()
locate
public FilePath locate(AbstractMavenBuild build)
- Description copied from class:
LocalRepositoryLocator
- Called during the build on the master to determine the location of the local Maven repository.
- Specified by:
locate
in class LocalRepositoryLocator
- Returns:
- null to let Maven uses its default location. Otherwise this must be located on the same
node as
AbstractBuild.getWorkspace()
does.
Copyright © 2004-2013. All Rights Reserved.