Uses of Class
com.atlassian.bamboo.specs.builders.repository.github.GitHubRepository
Packages that use GitHubRepository
-
Uses of GitHubRepository in com.atlassian.bamboo.specs.builders.repository.github
Methods in com.atlassian.bamboo.specs.builders.repository.github that return GitHubRepositoryModifier and TypeMethodDescriptionGitHubRepository.authentication(@NotNull SharedCredentialsIdentifier sharedCredentialsIdentifier) Selects a previously definedSharedCredentialsto configure account authentication with Github.GitHubRepository.authentication(@NotNull UserPasswordAuthentication userPasswordAuthentication) Specifies username/access token authentication.Checks base Url.Sets branch to check out.GitHubRepository.changeDetection(@NotNull VcsChangeDetection vcsChangeDetection) Sets change detection options for this repository.GitHubRepository.commandTimeout(Duration commandTimeout) Specifies how much time is given for git commands to finish.GitHubRepository.commandTimeoutInMinutes(int commandTimeoutMinutes) Specifies how much time in minutes is given for git commands to finish.GitHubRepository.defaultChangeDetection()Resets all change detection options to defaults.GitHubRepository.fetchWholeRepository(boolean fetchWholeRepository) Enforces (or not) fetching all remote refs from the repository rather than single branch.GitHubRepository.lfsEnabled(boolean useLfs) Enables/disables git lfs support.GitHubRepository.remoteAgentCacheEnabled(boolean useRemoteAgentCache) Enables/disables caching repository content on the remote and elastic agents.GitHubRepository.repository(@NotNull String repository) Sets gitHub repository name.GitHubRepository.shallowClonesEnabled(boolean useShallowClones) Enables/disables shallow clones when checking out from the repository.GitHubRepository.sshKeyAppliesToSubmodules(boolean sshKeyAppliesToSubmodules) Enables/disabled authenticating to submodules with SSH key configured for this repository.GitHubRepository.submodulesEnabled(boolean useSubmodules) Enables/disables submodule support.GitHubRepository.submodulesUseShallowClonesEnabled(boolean useSubmodulesWithShallowClones) Enables/disables shallow clone support for submodules.GitHubRepository.verboseLogs(boolean verboseLogs) Enables/disables verbose logs from git commands.GitHubRepository.webhookEnabled(boolean webhookEnabled) Enables webhooks support for the repository.