Class BitbucketChangesetCommentNotifier
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.BitbucketNotifier
com.cloudbees.jenkins.plugins.bitbucket.BitbucketChangesetCommentNotifier
Bitbucket notifier implementation that sends notifications as commit comments.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
buildStatus
(BitbucketBuildStatus status) Notify bitbucket through the build status API.void
Notify bitbucket about a new build status on a concrete commit.Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.BitbucketNotifier
notify
-
Constructor Details
-
BitbucketChangesetCommentNotifier
-
-
Method Details
-
notify
public void notify(String repoOwner, String repoName, String hash, String content) throws IOException, InterruptedException Description copied from class:BitbucketNotifier
Notify bitbucket about a new build status on a concrete commit.- Specified by:
notify
in classBitbucketNotifier
- Parameters:
repoOwner
- repository owner name (username)repoName
- repository namehash
- commit hashcontent
- notification content- Throws:
IOException
- if there was a communication error during notification.InterruptedException
- if interrupted during notification.
-
buildStatus
Description copied from class:BitbucketNotifier
Notify bitbucket through the build status API.- Specified by:
buildStatus
in classBitbucketNotifier
- Parameters:
status
- the status object to serialize- Throws:
IOException
- if there was a communication error during notification.InterruptedException
- if interrupted during notification.
-