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>
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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DisableRemotePoll.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description DisableRemotePoll()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
requiresWorkspaceForPolling()
-
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
-
-
-
-
Method Detail
-
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.
-
-