public class CleanBeforeCheckout extends GitSCMExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
CleanBeforeCheckout.DescriptorImpl |
| Constructor and Description |
|---|
CleanBeforeCheckout() |
| Modifier and Type | Method and Description |
|---|---|
void |
decorateFetchCommand(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.TaskListener listener,
org.jenkinsci.plugins.gitclient.FetchCommand cmd)
Called before a
FetchCommand is executed to allow extensions to alter its behaviour. |
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables, requiresWorkspaceForPollingpublic void decorateFetchCommand(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, hudson.model.TaskListener listener, org.jenkinsci.plugins.gitclient.FetchCommand cmd) throws IOException, InterruptedException, hudson.plugins.git.GitException
GitSCMExtensionFetchCommand is executed to allow extensions to alter its behaviour.decorateFetchCommand in class GitSCMExtensionIOExceptionInterruptedExceptionhudson.plugins.git.GitExceptionCopyright © 2004-2015. All Rights Reserved.