Class GitHubTagCreator
java.lang.Object
com.atlassian.bamboo.plugins.github.AbstractGitHubExecutor
com.atlassian.bamboo.plugins.github.GitHubTagCreator
- All Implemented Interfaces:
VcsTagCreator
-
Field Summary
Fields inherited from class com.atlassian.bamboo.plugins.github.AbstractGitHubExecutor
vcsRepositoryManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTag(@NotNull VcsRepositoryData repositoryData, @NotNull String tagName, @NotNull String vcsRevisionKey, @Nullable String checkoutLocation, @Nullable BuildLogger buildLogger) Creates new tag from revision vcsRevisionKey with given tagName.Methods inherited from class com.atlassian.bamboo.plugins.github.AbstractGitHubExecutor
getGitModuleDescriptor, githubToGitData
-
Constructor Details
-
GitHubTagCreator
-
-
Method Details
-
createTag
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 Description copied from interface:VcsTagCreatorCreates new tag from revision vcsRevisionKey with given tagName. If code was checked out during job - checkout location will be given If called from something having build context (like task) - build logger may be given for some logs in result- Specified by:
createTagin interfaceVcsTagCreator- Throws:
RepositoryException
-