@ExperimentalApi public interface VcsCommitCommenter extends IdentifyingExecutor<VcsCommitCommenter>
Modifier and Type | Method and Description |
---|---|
boolean |
publishComment(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull String payload)
Publish comment to repository commit.
|
boolean |
publishRssStatus(@NotNull VcsRepositoryData repositoryData,
@NotNull String commitId,
@NotNull com.atlassian.event.Event event)
Publish Bamboo Specs execution status to repository commit.
|
getVcsIdForExecutor
boolean publishRssStatus(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull String commitId, @NotNull @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 RssEvent
from bamboo-core.RepositoryException
- when commit not found or credentials are wrongboolean publishComment(@NotNull @NotNull VcsRepositoryData repositoryData, @NotNull @NotNull String commitId, @NotNull @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.