@ExperimentalApi public interface VcsCommitCommenter extends IdentifyingExecutor<VcsCommitCommenter>
Modifier and Type | Method and Description |
---|---|
boolean |
publishComment(VcsRepositoryData repositoryData,
String commitId,
String payload)
Publish comment to repository commit.
|
boolean |
publishRssStatus(VcsRepositoryData repositoryData,
String commitId,
com.atlassian.event.Event event)
Publish Bamboo Specs execution status to repository commit.
|
getVcsIdForExecutor
boolean publishRssStatus(@NotNull VcsRepositoryData repositoryData, @NotNull String commitId, @NotNull com.atlassian.event.Event event) throws RepositoryException
commitId
- identifier of commit which should receive comment. For git-based repos it's SHA.event
- is com.atlassian.bamboo.event.rss.RssEvent from bamboo-coreRepositoryException
- when commit not found or credentials are wrongboolean publishComment(@NotNull VcsRepositoryData repositoryData, @NotNull String commitId, @NotNull String payload) throws RepositoryException
commitId
- identifier of commit which should receive comment. For git-based repos it's SHA.payload
- content of commentRepositoryException
- when commit not found or credentials are wrongCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.