Class DefaultBitBucketPPRClient

java.lang.Object
io.jenkins.plugins.bitbucketpushandpullrequest.client.DefaultBitBucketPPRClient
All Implemented Interfaces:
BitBucketPPRClient

public class DefaultBitBucketPPRClient extends Object implements BitBucketPPRClient
Sends build-status notifications to Bitbucket. The API consumer is chosen from the Bitbucket flavor and the configured credential type: username/password credentials use Basic auth on both flavors; a Secret-text credential is an OAuth2 client on Cloud and a Bearer token on Server. This is the single dispatch point for every notification, so cross-cutting policies (like the non-https warning) live here once.