Package hudson.model

Class WorkspaceBrowser

java.lang.Object
hudson.model.WorkspaceBrowser
All Implemented Interfaces:
ExtensionPoint

public abstract class WorkspaceBrowser extends Object implements ExtensionPoint
Allows to access a workspace as an alternative to online build node.

Primary use case is Cloud implementations that don't keep the agent online to browse workspace, but maintain a copy of node workspace on the controller.

Since:
1.502
Author:
Nicolas De Loof
  • Constructor Details

    • WorkspaceBrowser

      public WorkspaceBrowser()
  • Method Details

    • getWorkspace

      @CheckForNull public abstract FilePath getWorkspace(Job job)
      Provide access to job's workspace
      Returns:
      null if this WorkspaceBrowser don't have a workspace for this job