public class SparseCheckoutPaths extends GitSCMExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
SparseCheckoutPaths.DescriptorImpl |
| Constructor and Description |
|---|
SparseCheckoutPaths(List<SparseCheckoutPath> sparseCheckoutPaths) |
| Modifier and Type | Method and Description |
|---|---|
void |
decorateCheckoutCommand(GitSCM scm,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.TaskListener listener,
org.jenkinsci.plugins.gitclient.CheckoutCommand cmd)
Called before a
CheckoutCommand is executed to allow extensions to alter its behaviour. |
void |
decorateCloneCommand(GitSCM scm,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.TaskListener listener,
org.jenkinsci.plugins.gitclient.CloneCommand cmd)
Called before a
CloneCommand is executed to allow extensions to alter its behaviour. |
List<SparseCheckoutPath> |
getSparseCheckoutPaths() |
beforeCheckout, beforeCheckout, decorate, decorateCheckoutCommand, decorateCloneCommand, decorateFetchCommand, decorateMergeCommand, decorateMergeCommand, decorateRevisionToBuild, decorateRevisionToBuild, getDescriptor, getRequiredClient, getWorkingDirectory, getWorkingDirectory, isRevExcluded, onCheckoutCompleted, onCheckoutCompleted, onClean, populateEnvironmentVariables, requiresWorkspaceForPolling@DataBoundConstructor public SparseCheckoutPaths(List<SparseCheckoutPath> sparseCheckoutPaths)
public List<SparseCheckoutPath> getSparseCheckoutPaths()
public void decorateCloneCommand(GitSCM scm, hudson.model.Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, hudson.model.TaskListener listener, org.jenkinsci.plugins.gitclient.CloneCommand cmd) throws IOException, InterruptedException, hudson.plugins.git.GitException
GitSCMExtensionCloneCommand is executed to allow extensions to alter its behaviour.decorateCloneCommand in class GitSCMExtensionscm - GitSCM objectbuild - run contextgit - GitClientlistener - build logcmd - clone command to be decoratedIOException - on input or output errorInterruptedException - when interruptedhudson.plugins.git.GitException - on git errorpublic void decorateCheckoutCommand(GitSCM scm, hudson.model.Run<?,?> build, org.jenkinsci.plugins.gitclient.GitClient git, hudson.model.TaskListener listener, org.jenkinsci.plugins.gitclient.CheckoutCommand cmd) throws IOException, InterruptedException, hudson.plugins.git.GitException
GitSCMExtensionCheckoutCommand is executed to allow extensions to alter its behaviour.decorateCheckoutCommand in class GitSCMExtensionscm - GitSCM objectbuild - run contextgit - GitClientlistener - build logcmd - checkout command to be decoratedIOException - on input or output errorInterruptedException - when interruptedhudson.plugins.git.GitException - on git errorCopyright © 2007–2018. All rights reserved.