public class BuildResultsControl extends BackdoorControl<BuildResultsControl>
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
Constructor and Description |
---|
BuildResultsControl(@NotNull BambooEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
void |
createBuildResultWarning(PlanResultKey planResultKey,
long repositoryId,
long highPriority,
long normalPriority,
long lowPriority) |
io.restassured.response.Response |
getBuildResultAsResponse(@NotNull PlanKey planKey,
int buildNumber)
Get build result via REST
|
int |
getLatestBuildNumber(PlanKey planKey) |
io.restassured.response.Response |
getLatestResultResponse(PlanKey planKey) |
@NotNull Map<String,String> |
getMetadata(@NotNull PlanResultKey planResultKey) |
@NotNull ResultDetails |
getResultDetails(@NotNull PlanKey planKey,
int buildNumber) |
@NotNull ResultDetails |
getResultDetails(@NotNull PlanResultKey planResultKey) |
@NotNull RestBuildLabels |
getResultLabels(@NotNull PlanKey planKey,
int buildNumber) |
RestBuildLabels |
getResultLabels(PlanResultKey planResultKey) |
io.restassured.response.Response |
getResultsResponse(PlanKey planKey) |
@NotNull List<RestTestResult> |
getResultTests(@NotNull PlanResultKey jobResultKey) |
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
public BuildResultsControl(@NotNull @NotNull BambooEnvironmentData environmentData)
@NotNull public @NotNull Map<String,String> getMetadata(@NotNull @NotNull PlanResultKey planResultKey)
@NotNull public @NotNull ResultDetails getResultDetails(@NotNull @NotNull PlanKey planKey, int buildNumber)
@NotNull public @NotNull RestBuildLabels getResultLabels(@NotNull @NotNull PlanKey planKey, int buildNumber)
public RestBuildLabels getResultLabels(PlanResultKey planResultKey)
@NotNull public @NotNull ResultDetails getResultDetails(@NotNull @NotNull PlanResultKey planResultKey)
@NotNull public @NotNull List<RestTestResult> getResultTests(@NotNull @NotNull PlanResultKey jobResultKey)
public io.restassured.response.Response getBuildResultAsResponse(@NotNull @NotNull PlanKey planKey, int buildNumber)
planKey
- plan keybuildNumber
- build numberpublic io.restassured.response.Response getLatestResultResponse(PlanKey planKey)
public int getLatestBuildNumber(PlanKey planKey)
public io.restassured.response.Response getResultsResponse(PlanKey planKey)
public void createBuildResultWarning(PlanResultKey planResultKey, long repositoryId, long highPriority, long normalPriority, long lowPriority)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.