| Package | Description |
|---|---|
| com.atlassian.bamboo.specs.builders.repository.bitbucket.server |
Bitbucket Server repository type.
|
| Modifier and Type | Method and Description |
|---|---|
BitbucketServerRepository |
BitbucketServerRepository.branch(@NotNull String branch)
Sets a branch to check out.
|
BitbucketServerRepository |
BitbucketServerRepository.changeDetection(@NotNull VcsChangeDetection vcsChangeDetection)
Sets change detection options for this repository.
|
BitbucketServerRepository |
BitbucketServerRepository.commandTimeout(Duration commandTimeout)
Specifies how much time is given for git commands to finish.
|
BitbucketServerRepository |
BitbucketServerRepository.commandTimeoutInMinutes(int commandTimeoutMinutes)
Specifies how much time in minutes is given for git commands to finish.
|
BitbucketServerRepository |
BitbucketServerRepository.defaultChangeDetection()
Resets all change detection options to defaults.
|
BitbucketServerRepository |
BitbucketServerRepository.fetchWholeRepository(boolean fetchWholeRepository)
Enforces (or not) fetching all remote refs from the repository rather than single branch.
|
BitbucketServerRepository |
BitbucketServerRepository.lfsEnabled(boolean useLfs)
Enables/disables git lfs support.
|
BitbucketServerRepository |
BitbucketServerRepository.mirror(@NotNull BitbucketServerMirror mirror)
Sets mirror to be used for cloning repository.
|
BitbucketServerRepository |
BitbucketServerRepository.projectKey(@NotNull String projectKey)
Sets key of Bitbucket Server's project which repository belongs to.
|
BitbucketServerRepository |
BitbucketServerRepository.remoteAgentCacheEnabled(boolean useRemoteAgentCache)
Enables/disables caching repository content on the remote and elastic agents.
|
BitbucketServerRepository |
BitbucketServerRepository.repositorySlug(@NotNull String repositorySlug)
Sets the repository slug.
|
BitbucketServerRepository |
BitbucketServerRepository.server(@NotNull ApplicationLink server)
Selects Bitbucket Server instance which hosts this repository.
|
BitbucketServerRepository |
BitbucketServerRepository.shallowClonesEnabled(boolean useShallowClones)
Enables/disables shallow clones when checking out from the repository.
|
BitbucketServerRepository |
BitbucketServerRepository.sshCloneUrl(@NotNull String sshCloneUrl)
Sets repository url that is used for cloning the repository.
|
BitbucketServerRepository |
BitbucketServerRepository.sshKeyAppliesToSubmodules(boolean sshKeyAppliesToSubmodules)
Enables/disabled authenticating to submodules with SSH key configured for this repository.
|
BitbucketServerRepository |
BitbucketServerRepository.sshPrivateKey(@NotNull String sshPrivateKey)
Sets private SSH key of the repository.
|
BitbucketServerRepository |
BitbucketServerRepository.sshPublicKey(@NotNull String sshPublicKey)
Sets public SSH key of the repository.
|
BitbucketServerRepository |
BitbucketServerRepository.submodulesEnabled(boolean useSubmodules)
Enables/disables submodule support.
|
BitbucketServerRepository |
BitbucketServerRepository.verboseLogs(boolean verboseLogs)
Enables/disables verbose logs from git commands.
|
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.