public class CheckoutOption extends FakeGitSCMExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckoutOption.DescriptorImpl |
| Constructor and Description |
|---|
CheckoutOption(Integer timeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
decorateCheckoutCommand(GitSCM scm,
hudson.model.AbstractBuild<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.BuildListener listener,
org.jenkinsci.plugins.gitclient.CheckoutCommand cmd) |
Integer |
getTimeout() |
boolean |
requiresWorkspaceForPolling() |
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCloneCommand, decorateCloneCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables@DataBoundConstructor public CheckoutOption(Integer timeout)
public Integer getTimeout()
public boolean requiresWorkspaceForPolling()
requiresWorkspaceForPolling in class GitSCMExtensiontrue 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.public void decorateCheckoutCommand(GitSCM scm, hudson.model.AbstractBuild<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, hudson.model.BuildListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd) throws IOException, InterruptedException, hudson.plugins.git.GitException
decorateCheckoutCommand in class GitSCMExtensionIOExceptionInterruptedExceptionhudson.plugins.git.GitExceptionCopyright © 2004-2015. All Rights Reserved.