Class WipeWorkspace
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<GitSCMExtension>
-
- hudson.plugins.git.extensions.GitSCMExtension
-
- hudson.plugins.git.extensions.impl.WipeWorkspace
-
- All Implemented Interfaces:
Describable<GitSCMExtension>
public class WipeWorkspace extends GitSCMExtension
Force a re-clone.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WipeWorkspace.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description WipeWorkspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeCheckout(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener)
Called before the checkout activity (including fetch and checkout) starts.boolean
equals(Object o)
int
hashCode()
String
toString()
-
Methods inherited from class hudson.plugins.git.extensions.GitSCMExtension
beforeCheckout, decorate, decorateCheckoutCommand, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateFetchCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, determineSupportForJGit, enableMultipleRevisionDetection, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables, requiresWorkspaceForPolling
-
-
-
-
Method Detail
-
beforeCheckout
public void beforeCheckout(GitSCM scm, Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, TaskListener listener) throws IOException, InterruptedException, hudson.plugins.git.GitException
Called before the checkout activity (including fetch and checkout) starts.- Overrides:
beforeCheckout
in classGitSCMExtension
- Parameters:
scm
- GitSCM objectbuild
- run contextgit
- GitClientlistener
- build log- Throws:
IOException
- on input or output errorInterruptedException
- when interruptedhudson.plugins.git.GitException
- on git error
-
-