Package | Description |
---|---|
com.atlassian.bamboo.specs.builders.repository.github |
GitHub repository type.
|
Modifier and Type | Method and Description |
---|---|
GitHubRepository |
GitHubRepository.authentication(UserPasswordAuthentication userPasswordAuthentication)
Specifies username/access token authentication.
|
GitHubRepository |
GitHubRepository.baseUrl(String baseUrl)
Checks base Url.
|
GitHubRepository |
GitHubRepository.branch(String branch)
Sets branch to check out.
|
GitHubRepository |
GitHubRepository.changeDetection(VcsChangeDetection vcsChangeDetection)
Sets change detection options for this repository.
|
GitHubRepository |
GitHubRepository.commandTimeout(Duration commandTimeout)
Specifies how much time is given for git commands to finish.
|
GitHubRepository |
GitHubRepository.commandTimeoutInMinutes(int commandTimeoutMinutes)
Specifies how much time in minutes is given for git commands to finish.
|
GitHubRepository |
GitHubRepository.defaultChangeDetection()
Resets all change detection options to defaults.
|
GitHubRepository |
GitHubRepository.fetchWholeRepository(boolean fetchWholeRepository)
Enforces (or not) fetching all remote refs from the repository rather than single branch.
|
GitHubRepository |
GitHubRepository.lfsEnabled(boolean useLfs)
Enables/disables git lfs support.
|
GitHubRepository |
GitHubRepository.remoteAgentCacheEnabled(boolean useRemoteAgentCache)
Enables/disables caching repository content on the remote and elastic agents.
|
GitHubRepository |
GitHubRepository.repository(String repository)
Sets gitHub repository name.
|
GitHubRepository |
GitHubRepository.shallowClonesEnabled(boolean useShallowClones)
Enables/disables shallow clones when checking out from the repository.
|
GitHubRepository |
GitHubRepository.submodulesEnabled(boolean useSubmodules)
Enables/disables submodule support.
|
GitHubRepository |
GitHubRepository.verboseLogs(boolean verboseLogs)
Enables/disables verbose logs from git commands.
|
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.