public class CleanCheckout extends GitSCMExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
CleanCheckout.DescriptorImpl |
| Constructor and Description |
|---|
CleanCheckout() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCheckoutCompleted(GitSCM scm,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.TaskListener listener)
Called when the checkout was completed and the working directory is filled with files.
|
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onClean, populateEnvironmentVariables, requiresWorkspaceForPollingpublic void onCheckoutCompleted(GitSCM scm, hudson.model.Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, hudson.model.TaskListener listener) throws IOException, InterruptedException, hudson.plugins.git.GitException
GitSCMExtensionSCM.checkout(Run, Launcher, FilePath, TaskListener, File, SCMRevisionState) for the available parameters,
except workingDirectory
Do not move the HEAD to another commit, as by this point the commit to be built is already determined
and recorded (such as changelog.)onCheckoutCompleted in class GitSCMExtensionIOExceptionInterruptedExceptionhudson.plugins.git.GitExceptionCopyright © 2004-2015. All Rights Reserved.