| Package | Description |
|---|---|
| org.jenkinsci.plugins.gitclient |
Core classes for git client API implementation.
|
| Modifier and Type | Method and Description |
|---|---|
CloneCommand |
CliGitAPIImpl.clone_()
clone_.
|
CloneCommand |
JGitAPIImpl.clone_()
clone_.
|
CloneCommand |
GitClient.clone_()
Returns a
CloneCommand to build up the git-log invocation. |
CloneCommand |
CloneCommand.depth(Integer depth)
When shallow cloning, allow for a depth to be set in cases where you need more than the immediate last commit.
|
CloneCommand |
CloneCommand.noCheckout()
Deprecated.
|
CloneCommand |
CloneCommand.reference(String reference)
reference.
|
CloneCommand |
CloneCommand.refspecs(List<RefSpec> refspecs)
List of refspecs to be retrieved by the fetch.
|
CloneCommand |
CloneCommand.repositoryName(String name)
Name of the remote, such as 'origin' (which is the default).
|
CloneCommand |
CloneCommand.shallow()
Deprecated.
favour
shallow(boolean) |
CloneCommand |
CloneCommand.shallow(boolean shallow)
Only clone the most recent history, not preceding history.
|
CloneCommand |
CloneCommand.shared()
Deprecated.
favour
shared(boolean) |
CloneCommand |
CloneCommand.shared(boolean shared)
When the repository to clone is on the local machine, instead of using hard links, automatically setup
.git/objects/info/alternates to share the objects with the source repository
|
CloneCommand |
CloneCommand.tags(boolean tags)
Boolean which allows caller to request that tags and their references are
not fetched.
|
CloneCommand |
CloneCommand.timeout(Integer timeout)
timeout.
|
CloneCommand |
CloneCommand.url(String url)
URL of the repository to be cloned.
|
Copyright © 2013–2020. All rights reserved.