Class 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:
  • Constructor Details

    • PerJobHomeLocator

      @DataBoundConstructor public PerJobHomeLocator()
  • Method Details

    • 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 class HomeLocator
      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.