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 deployed
revisionSha
- the commit that was deployed
deployment
- the deployment information
run
- 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