Class PerJobHomeLocator
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<HomeLocator>
-
- jenkins.plugin.android.emulator.sdk.home.HomeLocator
-
- jenkins.plugin.android.emulator.sdk.home.PerJobHomeLocator
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<HomeLocator>
,Serializable
public class PerJobHomeLocator extends HomeLocator
Relocates the default SDK Home to the workspace folder. This allow clean unused packages when the job is gone.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PerJobHomeLocator.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description PerJobHomeLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilePath
locate(FilePath workspace)
Called during the build on the master to determine the location of the local SDK home location.-
Methods inherited from class jenkins.plugin.android.emulator.sdk.home.HomeLocator
buildEnvVars, getDescriptor
-
-
-
-
Method Detail
-
locate
public FilePath locate(@Nonnull FilePath workspace)
Description copied from class:HomeLocator
Called during the build on the master to determine the location of the local SDK home location.- Specified by:
locate
in classHomeLocator
- Parameters:
workspace
- the workspace file path locator- Returns:
- null to let SDK build tool uses its default location. Otherwise this must be located on the same node as described by this path.
-
-