GitRepository |
GitRepository.authentication(@NotNull SharedCredentialsIdentifier sharedCredentialsIdentifier) |
|
GitRepository |
GitRepository.authentication(@NotNull SshPrivateKeyAuthentication sshPrivateKeyAuthentication) |
Specifies SSH private key authentication.
|
GitRepository |
GitRepository.authentication(@NotNull UserPasswordAuthentication userPasswordAuthentication) |
Specifies username/password authentication.
|
GitRepository |
GitRepository.branch(@NotNull java.lang.String branch) |
Sets branch to check out.
|
GitRepository |
GitRepository.changeDetection(@NotNull VcsChangeDetection vcsChangeDetection) |
Sets change detection options for this repository.
|
GitRepository |
GitRepository.commandTimeout(java.time.Duration commandTimeout) |
Specifies how much time is given for git commands to finish.
|
GitRepository |
GitRepository.commandTimeoutInMinutes(int commandTimeoutMinutes) |
Specifies how much time in minutes is given for git commands to finish.
|
GitRepository |
GitRepository.defaultChangeDetection() |
Resets all change detection options to defaults.
|
GitRepository |
GitRepository.fetchWholeRepository(boolean fetchWholeRepository) |
Enforces (or not) fetching all remote refs from the repository rather than single branch.
|
GitRepository |
GitRepository.lfsEnabled(boolean useLfs) |
Enables/disables git lfs support.
|
GitRepository |
GitRepository.remoteAgentCacheEnabled(boolean useRemoteAgentCache) |
Enables/disables caching repository content on the remote and elastic agents.
|
GitRepository |
GitRepository.shallowClonesEnabled(boolean useShallowClones) |
Enables/disables shallow clones when checking out from the repository.
|
GitRepository |
GitRepository.sshKeyAppliesToSubmodules(boolean sshKeyAppliesToSubmodules) |
Enables/disabled authenticating to submodules with SSH key configured for this repository.
|
GitRepository |
GitRepository.submodulesEnabled(boolean useSubmodules) |
Enables/disables submodule support.
|
GitRepository |
GitRepository.url(@NotNull java.lang.String url) |
Sets git repository url.
|
GitRepository |
GitRepository.verboseLogs(boolean verboseLogs) |
Enables/disables verbose logs from git commands.
|
GitRepository |
GitRepository.withoutAuthentication() |
Removes authentication details.
|