Package com.atlassian.bamboo.vcs.runtime
Interface VcsTagCreator
-
- All Known Implementing Classes:
BitbucketCloudTagCreator,BitbucketServerTagCreator,GitTagCreator,SvnTagCreator
@ExperimentalApi public interface VcsTagCreatorClass responsible for creating tags in repository. Implementation should be stateless. Used agent-side.- Since:
- 5.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateTag(@NotNull VcsRepositoryData repositoryData, @NotNull String tagName, @NotNull String vcsRevisionKey, @Nullable String checkoutLocation, @Nullable BuildLogger buildLogger)Creates new tag from revision vcsRevisionKey with given tagName.
-
-
-
Method Detail
-
createTag
void createTag(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull String tagName, @NotNull @NotNull String vcsRevisionKey, @Nullable @Nullable String checkoutLocation, @Nullable @Nullable BuildLogger buildLogger) throws RepositoryExceptionCreates 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- Throws:
RepositoryException
-
-