@PublicApi public interface CurrentBuildResult extends CurrentResult
| Modifier and Type | Field and Description |
|---|---|
static String |
CBD_BUILD_TIME_STAMP
Key name in custom build data
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendTestResults(Set<TestResults> successfulTestResults,
Set<TestResults> failedTestResults,
Set<TestResults> skippedTestResults)
Append test results to the existing stored test results for this build.
|
BuildResults |
cloneAsBuildResults(BuildContext buildContext,
ReasonForBuild reasonForBuild) |
int |
getBuildReturnCode() |
Collection<BuildWarningSummary> |
getBuildWarningSummaries() |
Collection<TestResults> |
getFailedTestResults() |
int |
getParserErrorsCount()
Returns number of parsing errors.
|
Collection<TestResults> |
getSkippedTestResults() |
Collection<TestResults> |
getSuccessfulTestResults() |
Date |
getTasksStartDate() |
void |
incParserErrorsCount(int count)
Notify about parsing errors.
|
boolean |
isCheckoutSuccess() |
void |
setBuildReturnCode(int buildReturnCode) |
void |
setCheckoutSuccess(boolean checkoutSuccess) |
void |
setTasksStartDate(Date startDate) |
void |
setTestResults(Set<TestResults> successfulTestResults,
Set<TestResults> failedTestResults)
Set the test results for this build.
|
void |
setTestResults(Set<TestResults> successfulTestResults,
Set<TestResults> failedTestResults,
Set<TestResults> skippedTestResults)
Set the test results for this build.
|
addBuildErrors, clearBuildErrors, getBuildErrors, getBuildState, getCustomBuildData, getLifeCycleState, getTaskResults, getTaskResultsForTask, getVcsWorkingCopyState, isStarted, setBuildState, setLifeCycleState, setStarted, setTaskResultsstatic final String CBD_BUILD_TIME_STAMP
int getBuildReturnCode()
void setBuildReturnCode(int buildReturnCode)
@NotNull Date getTasksStartDate()
getTasksStartDate in interface CurrentResultvoid setTasksStartDate(@NotNull
Date startDate)
setTasksStartDate in interface CurrentResult@Nullable Collection<TestResults> getFailedTestResults()
@Nullable Collection<TestResults> getSuccessfulTestResults()
@Nullable Collection<TestResults> getSkippedTestResults()
void setTestResults(@Nullable
Set<TestResults> successfulTestResults,
@Nullable
Set<TestResults> failedTestResults,
@Nullable
Set<TestResults> skippedTestResults)
appendTestResults(Set, Set, Set) instead.successfulTestResults - a set of successful results retrieved from the buildfailedTestResults - a set of failed results retrieved from the buildskippedTestResults - s set of skipped results retrieved from the buildvoid setTestResults(@Nullable
Set<TestResults> successfulTestResults,
@Nullable
Set<TestResults> failedTestResults)
appendTestResults(Set, Set, Set) instead.successfulTestResults - a set of successful results retrieved from the buildfailedTestResults - a set of failed results retrieved from the buildvoid appendTestResults(@Nullable
Set<TestResults> successfulTestResults,
@Nullable
Set<TestResults> failedTestResults,
@Nullable
Set<TestResults> skippedTestResults)
successfulTestResults - - any new successful testsfailedTestResults - - any new failed testsskippedTestResults - - any new skipped testsBuildResults cloneAsBuildResults(BuildContext buildContext, ReasonForBuild reasonForBuild)
boolean isCheckoutSuccess()
void setCheckoutSuccess(boolean checkoutSuccess)
void incParserErrorsCount(int count)
int getParserErrorsCount()
Collection<BuildWarningSummary> getBuildWarningSummaries()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.