Package | Description |
---|---|
com.atlassian.bamboo.specs.builders.repository.git |
Git repository type.
|
Modifier and Type | Method and Description |
---|---|
GitRepository |
GitRepository.authentication(SharedCredentialsIdentifier sharedCredentialsIdentifier)
Selects a previously defined
SharedCredentials to authenticate with git server. |
GitRepository |
GitRepository.authentication(SshPrivateKeyAuthentication sshPrivateKeyAuthentication)
Specifies SSH private key authentication.
|
GitRepository |
GitRepository.authentication(UserPasswordAuthentication userPasswordAuthentication)
Specifies username/password authentication.
|
GitRepository |
GitRepository.branch(String branch)
Sets branch to check out.
|
GitRepository |
GitRepository.changeDetection(VcsChangeDetection vcsChangeDetection)
Sets change detection options for this repository.
|
GitRepository |
GitRepository.commandTimeout(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.submodulesEnabled(boolean useSubmodules)
Enables/disables submodule support.
|
GitRepository |
GitRepository.url(String url)
Sets git repository url.
|
GitRepository |
GitRepository.verboseLogs(boolean verboseLogs)
Enables/disables verbose logs from git commands.
|
GitRepository |
GitRepository.withoutAuthentication()
Removes authentication details.
|
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.