public interface DeploymentPoster
Modifier and Type | Method and Description |
---|---|
void |
postDeployment(BitbucketSCMRepository repository,
String revisionSha,
BitbucketDeployment deployment,
Run<?,?> run,
TaskListener taskListener)
Send a notification of deployment to Bitbucket Server on the provided commit.
|
void postDeployment(BitbucketSCMRepository repository, String revisionSha, BitbucketDeployment deployment, Run<?,?> run, TaskListener taskListener)
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 consoleCopyright © 2016–2022. All rights reserved.