Interface DeploymentPoster
- All Known Implementing Classes:
DeploymentPosterImpl
public interface DeploymentPoster
Send a deployment notification to Bitbucket Server
- Since:
- 3.1.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postDeployment
(BitbucketSCMRepository repository, String revisionSha, BitbucketDeployment deployment, Run<?, ?> run, TaskListener taskListener) Send a notification of deployment to Bitbucket Server on the provided commit.
-
Method Details
-
postDeployment
void postDeployment(BitbucketSCMRepository repository, String revisionSha, BitbucketDeployment deployment, Run<?, ?> run, TaskListener taskListener) Send a notification of deployment to Bitbucket Server on the provided commit.- Parameters:
repository
- the repository that was deployedrevisionSha
- the commit that was deployeddeployment
- the deployment informationrun
- the run that caused the deployment (used to get the credentials to post the notification)taskListener
- the task listener for the run, in order to write messages to the run's console
-