Interface DeploymentPoster

  • All Known Implementing Classes:
    DeploymentPosterImpl

    public interface DeploymentPoster
    Send a deployment notification to Bitbucket Server
    Since:
    3.1.0
    • Method Detail

      • 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