public class BuildResultsControl extends BackdoorControl<BuildResultsControl>
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
Constructor and Description |
---|
BuildResultsControl(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(PlanKey planKey,
int buildNumber)
Get build result via REST
|
int |
getLatestBuildNumber(PlanKey planKey) |
io.restassured.response.Response |
getLatestResultResponse(PlanKey planKey) |
Map<String,String> |
getMetadata(PlanResultKey planResultKey) |
ResultDetails |
getResultDetails(PlanKey planKey,
int buildNumber) |
ResultDetails |
getResultDetails(PlanResultKey planResultKey) |
io.restassured.response.Response |
getResultsResponse(PlanKey planKey) |
List<RestTestResult> |
getResultTests(PlanResultKey jobResultKey) |
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
public BuildResultsControl(@NotNull BambooEnvironmentData environmentData)
@NotNull public Map<String,String> getMetadata(@NotNull PlanResultKey planResultKey)
@NotNull public ResultDetails getResultDetails(@NotNull PlanKey planKey, int buildNumber)
@NotNull public ResultDetails getResultDetails(@NotNull PlanResultKey planResultKey)
@NotNull public List<RestTestResult> getResultTests(@NotNull PlanResultKey jobResultKey)
public io.restassured.response.Response getBuildResultAsResponse(@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 © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.