| Constructor and Description |
|---|
BambooServer(@NotNull String baseUrl)
Create an instance of Bamboo server.
|
BambooServer(@NotNull String baseUrl,
@NotNull AuthenticationProvider authenticationProvider)
Create an instance of Bamboo server with specified
AuthenticationProvider. |
| Modifier and Type | Method and Description |
|---|---|
URI |
getBaseUrl()
Get base URL for the Bamboo server.
|
Object |
publish(@NotNull RootEntityPropertiesBuilder entityProperties)
Publishes the given entity to Bamboo server.
|
public BambooServer(@NotNull
@NotNull String baseUrl)
baseUrl - base URL of the Bamboo server, e.g. http://bamboo.example.com/ (ignored when in RSS mode)public BambooServer(@NotNull
@NotNull String baseUrl,
@NotNull
@NotNull AuthenticationProvider authenticationProvider)
AuthenticationProvider.baseUrl - base URL of the Bamboo server, e.g. http://bamboo.example.com/ (ignored when in RSS mode)authenticationProvider - credentials to use for contacting Bamboo (ignored when in RSS mode)public URI getBaseUrl()
public Object publish(@NotNull @NotNull RootEntityPropertiesBuilder entityProperties)
RunnerSettings.
In RSS mode, url and authentication parameters are ignored and calling this method on any BambooServer object results in publishing the object to the current
Bamboo instance. When publishing using Maven profile (mvn -Ppublish-specs) the Specs objects are sent to a Bamboo instance located at baseUrl.
See also: RssRuntimeContextentityProperties - entity to publishBambooSpecsPublishingException - if publishing failsCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.