Class DisableRemotePoll

All Implemented Interfaces:
Describable<GitSCMExtension>

public class DisableRemotePoll extends GitSCMExtension
Disable Workspace-less polling via "git ls-remote". Only needed for repository that don't support ls-remote.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • DisableRemotePoll

      @DataBoundConstructor public DisableRemotePoll()
  • Method Details

    • requiresWorkspaceForPolling

      public boolean requiresWorkspaceForPolling()
      Overrides:
      requiresWorkspaceForPolling in class GitSCMExtension
      Returns:
      true when this extension has a requirement to get a workspace during polling, typically as it has to check for incoming changes, not just remote HEAD.