Package hudson.model

Class 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 Detail

      • WorkspaceBrowser

        public WorkspaceBrowser()
    • Method Detail

      • 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