Interface VcsCommitCommenter

    • Method Detail

      • publishRssStatus

        boolean publishRssStatus​(@NotNull
                                 @NotNull VcsRepositoryData repositoryData,
                                 @NotNull
                                 @NotNull String commitId,
                                 @NotNull
                                 @NotNull com.atlassian.event.Event event)
                          throws RepositoryException
        Publish Bamboo Specs execution status to repository commit.
        Parameters:
        commitId - identifier of commit which should receive comment. For git-based repos it's SHA.
        event - is RssEvent from bamboo-core.
        Returns:
        true if published comment successfully.
        Throws:
        RepositoryException - when commit not found or credentials are wrong
      • publishComment

        boolean publishComment​(@NotNull
                               @NotNull VcsRepositoryData repositoryData,
                               @NotNull
                               @NotNull String commitId,
                               @NotNull
                               @NotNull String payload)
                        throws RepositoryException
        Publish comment to repository commit.
        Parameters:
        commitId - identifier of commit which should receive comment. For git-based repos it's SHA.
        payload - content of comment
        Returns:
        true if published comment successfully.
        Throws:
        RepositoryException - when commit not found or credentials are wrong