Class BuildResultsControl

java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<BuildResultsControl>
com.atlassian.bamboo.testutils.backdoor.BuildResultsControl

public class BuildResultsControl extends BackdoorControl<BuildResultsControl>
  • Constructor Details

    • BuildResultsControl

      public BuildResultsControl(@NotNull @NotNull BambooEnvironmentData environmentData)
  • Method Details

    • getMetadata

      @NotNull public @NotNull Map<String,String> getMetadata(@NotNull @NotNull PlanResultKey planResultKey)
    • getResultDetails

      @NotNull public @NotNull ResultDetails getResultDetails(@NotNull @NotNull PlanKey planKey, int buildNumber)
    • getResultLabels

      @NotNull public @NotNull RestBuildLabels getResultLabels(@NotNull @NotNull PlanKey planKey, int buildNumber)
    • getResultLabels

      public RestBuildLabels getResultLabels(PlanResultKey planResultKey)
    • getResultDetails

      @NotNull public @NotNull ResultDetails getResultDetails(@NotNull @NotNull PlanResultKey planResultKey)
    • getResultTests

      @NotNull public @NotNull List<RestTestResult> getResultTests(@NotNull @NotNull PlanResultKey jobResultKey)
    • getBuildResultAsResponse

      public io.restassured.response.Response getBuildResultAsResponse(@NotNull @NotNull PlanKey planKey, int buildNumber)
      Get build result via REST
      Parameters:
      planKey - plan key
      buildNumber - build number
    • getLatestResultResponse

      public io.restassured.response.Response getLatestResultResponse(PlanKey planKey)
    • getLatestBuildNumber

      public int getLatestBuildNumber(PlanKey planKey)
    • getResultsResponse

      public io.restassured.response.Response getResultsResponse(PlanKey planKey)
    • createBuildResultWarning

      public void createBuildResultWarning(PlanResultKey planResultKey, long repositoryId, long highPriority, long normalPriority, long lowPriority)