public class GitTagCreator extends AbstractGitExecutor implements VcsTagCreator
buildDirectoryManager, buildLoggingContext, customVariableContext, DEFAULT_BRANCH, i18nResolver, sshProxyService, trustedKeyHelper
Constructor and Description |
---|
GitTagCreator(CapabilityContext capabilityContext,
CredentialsAccessor credentialsAccessor,
CustomVariableContext customVariableContext,
BuildDirectoryManager buildDirectoryManager,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
TrustedKeyHelper trustedKeyHelper,
SshProxyService sshProxyService,
BuildLoggingContext buildLoggingContext) |
Modifier and Type | Method and Description |
---|---|
void |
createTag(@NotNull VcsRepositoryData repositoryData,
@NotNull String tagName,
@NotNull String vcsRevisionKey,
@Nullable String checkoutLocation,
@Nullable BuildLogger buildLogger)
Creates new tag from revision vcsRevisionKey with given tagName.
|
fetchCacheWithRetry, fetchWithRetry, getAccessData, getCacheDirectory, getCachePath, getGitCapability, getSharedCredentialsIdField, getSshCapability, getSubstitutedAccessData, getSubstitutedAccessDataBuilder, getWorkingDirectory, isUsingSharedCredentials, rethrowOrRemoveDirectory, substituteString
@Inject public GitTagCreator(CapabilityContext capabilityContext, CredentialsAccessor credentialsAccessor, CustomVariableContext customVariableContext, BuildDirectoryManager buildDirectoryManager, com.atlassian.sal.api.message.I18nResolver i18nResolver, TrustedKeyHelper trustedKeyHelper, SshProxyService sshProxyService, BuildLoggingContext buildLoggingContext)
public void createTag(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull String tagName, @NotNull @NotNull String vcsRevisionKey, @Nullable @Nullable String checkoutLocation, @Nullable @Nullable BuildLogger buildLogger) throws RepositoryException
VcsTagCreator
createTag
in interface VcsTagCreator
RepositoryException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.