Class DisableRemotePoll
java.lang.Object
hudson.model.AbstractDescribableImpl<GitSCMExtension>
hudson.plugins.git.extensions.GitSCMExtension
hudson.plugins.git.extensions.impl.DisableRemotePoll
- All Implemented Interfaces:
Describable<GitSCMExtension>
Disable Workspace-less polling via "git ls-remote". Only needed for repository that don't support ls-remote.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.plugins.git.extensions.GitSCMExtension
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateFetchCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, determineSupportForJGit, enableMultipleRevisionDetection, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables
-
Constructor Details
-
DisableRemotePoll
@DataBoundConstructor public DisableRemotePoll()
-
-
Method Details
-
requiresWorkspaceForPolling
public boolean requiresWorkspaceForPolling()- Overrides:
requiresWorkspaceForPolling
in classGitSCMExtension
- 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.
-