Interface PluginBuildServer
public interface PluginBuildServer
An abstraction describing a specific instance of a CI server and methods for Bitbucket Server to interact with it.
- Since:
- 7.8
- 
Method Details- 
getBuildStatusEnricher- Returns:
- a BuildStatusEnricherthat can be used to add extra details to aRepositoryBuildStatus
 
- 
getClient- Returns:
- a PluginBuildServerClientthat can be used to interface with this build server
 
- 
getIdIdentifier that uniquely identifies this build server. This may be a URL, a UUID, or some other string. It must identify the build server locally (within the scope of the provider) and additionally, as far as possible, globally. As such a simple incrementing integer value would be a poor choice of identifier.- Returns:
- an id that uniquely identifies this build server
 
- 
getName- Returns:
- a human readable name for the build server
 
- 
getRpcUrl- Returns:
- the base URL to be used when constructing URIs to be used for RPC calls to this application.
         The returned URIwill have no trailing slash. e.g. "http://localhost:6990/bamboo"
 
- 
getTypeIdIdentifier of the type of the build server. For example, "bamboo" or "jenkins". For internal consumption and not an i18n string.- Returns:
- the id of the type of the build server
 
 
-