Uses of Class
com.atlassian.bamboo.specs.builders.repository.git.GitRepository
Packages that use GitRepository
-
Uses of GitRepository in com.atlassian.bamboo.specs.builders.repository.git
Methods in com.atlassian.bamboo.specs.builders.repository.git that return GitRepositoryModifier and TypeMethodDescriptionGitRepository.authentication(@NotNull SharedCredentialsIdentifier sharedCredentialsIdentifier) Selects a previously definedSharedCredentialsto authenticate with git server.GitRepository.authentication(@NotNull SshPrivateKeyAuthentication sshPrivateKeyAuthentication) Specifies SSH private key authentication.GitRepository.authentication(@NotNull UserPasswordAuthentication userPasswordAuthentication) Specifies username/password authentication.Sets branch to check out.GitRepository.changeDetection(@NotNull VcsChangeDetection vcsChangeDetection) Sets change detection options for this repository.GitRepository.commandTimeout(Duration commandTimeout) Specifies how much time is given for git commands to finish.GitRepository.commandTimeoutInMinutes(int commandTimeoutMinutes) Specifies how much time in minutes is given for git commands to finish.GitRepository.defaultChangeDetection()Resets all change detection options to defaults.GitRepository.fetchWholeRepository(boolean fetchWholeRepository) Enforces (or not) fetching all remote refs from the repository rather than single branch.GitRepository.lfsEnabled(boolean useLfs) Enables/disables git lfs support.GitRepository.remoteAgentCacheEnabled(boolean useRemoteAgentCache) Enables/disables caching repository content on the remote and elastic agents.GitRepository.shallowClonesEnabled(boolean useShallowClones) Enables/disables shallow clones when checking out from the repository.GitRepository.sshKeyAppliesToSubmodules(boolean sshKeyAppliesToSubmodules) Enables/disabled authenticating to submodules with SSH key configured for this repository.GitRepository.submodulesEnabled(boolean useSubmodules) Enables/disables submodule support.GitRepository.submodulesUseShallowClonesEnabled(boolean useSubmodulesWithShallowClones) Enables/disables shallow clone support for submodules.Sets git repository url.GitRepository.verboseLogs(boolean verboseLogs) Enables/disables verbose logs from git commands.GitRepository.withoutAuthentication()Removes authentication details.