| Modifier and Type | Method and Description |
|---|---|
BuildResultsSummary |
ArtifactLink.getProducerJobResult() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactLink |
ArtifactLinkManager.addArtifactLink(BuildResultsSummary producerResult,
ArtifactDefinitionContext artifactDefinitionContext,
String publisherPluginKey)
|
Collection<ArtifactLink> |
ArtifactLinkManager.addArtifactLinks(BuildResultsSummary producerResult,
ArtifactPublishingResult result)
Create ArtifactLink object and add it to the BuildResultsSummary.
|
void |
ArtifactLinkManager.removeArtifactLinks(BuildResultsSummary buildResultsSummary)
Remove all artifact links from the BuildResultsSummary.
|
void |
ArtifactLinkManager.removeProducedArtifactLinks(BuildResultsSummary buildResultsSummary)
Remove all artifacts produced by a job in a build.
|
| Modifier and Type | Method and Description |
|---|---|
List<BuildResultsSummary> |
BuildResultsFilter.getBuildResultsForAgent(Long agentId)
Obtain a collection of
BuildResultsSummary
for a specified agentId. |
List<BuildResultsSummary> |
BuildResultsFilter.getBuildResultsForBuild(ImmutableBuildable buildable)
Deprecated.
since 2.7 use
#getResultsForPlan(Plan) instead |
| Modifier and Type | Method and Description |
|---|---|
Set<BuildResultsSummary> |
ChainStageResult.getBuildResults()
Returns all the
BuildResultsSummary with this Stage result |
Collection<BuildResultsSummary> |
ChainStageResult.getFailedBuildResults()
Returns all the failed
BuildResultsSummary with this Stage result |
List<BuildResultsSummary> |
ImmutableChainResultsSummary.getFailedJobResults()
Get a list of all failed job Results in this chain result
|
List<BuildResultsSummary> |
ChainStageResult.getSortedBuildResults()
Returns all the
BuildResultsSummary with this Stage result
ordered by build name. |
Collection<BuildResultsSummary> |
ChainStageResult.getSuccessfulBuildResults()
Returns all the successful
BuildResultsSummary with this Stage result |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ChainStageResult.addBuildResult(BuildResultsSummary buildResult)
Adds a
BuildResultsSummary and sets the relationship to the ChainResultsSummary |
boolean |
ChainStageResult.removeBuildResult(BuildResultsSummary buildResult)
Removes a
BuildResultsSummary |
| Modifier and Type | Method and Description |
|---|---|
void |
PostJobAction.execute(StageExecution stageExecution,
Job job,
BuildResultsSummary buildResultsSummary)
Executes the custom action
|
| Modifier and Type | Method and Description |
|---|---|
void |
CustomIndexReader.extractFromDocument(org.apache.lucene.document.Document document,
BuildResultsSummary buildResultsSummary) |
void |
CustomPostBuildIndexWriter.updateIndexDocument(org.apache.lucene.document.Document document,
BuildResultsSummary buildResults)
Allows you to add lucene fields to the document
|
| Modifier and Type | Method and Description |
|---|---|
List<BuildResultsSummary> |
ChainResultDetails.getFailedJobResults()
Returns all Job results that failed.
|
| Modifier and Type | Method and Description |
|---|---|
TriggerReason |
TriggerManager.getTriggerReason(ChainResultsSummary chainResultsSummary,
BuildResultsSummary buildResultsSummary)
Combines the data from the given
ChainResultsSummary and BuildResultsSummary to produce a TriggerReason for a Job result |
| Modifier and Type | Method and Description |
|---|---|
BuildResultsSummary |
BuildResultsSummaryDao.getFirstBuildSummary(Plan plan)
Returns the first available
BuildResultsSummary for the given Plan |
BuildResultsSummary |
BuildResultsSummaryDao.getFirstBuildSummary(PlanKey planKey)
Returns the first available
BuildResultsSummary for the given PlanKey |
BuildResultsSummary |
BuildResultsSummaryManager.getLastBuildForAgent(String planKey,
Long agentId)
Deprecated.
|
BuildResultsSummary |
BuildResultsSummaryManager.getLastBuildForImageConfiguration(String planKey,
ElasticImageConfiguration configuration)
Deprecated.
|
BuildResultsSummary |
BuildResultsSummaryManager.getLastSuccessfulBuildForAgent(String planKey,
Long agentId)
Deprecated.
|
BuildResultsSummary |
ResultsSummaryManager.getLatestSummaryForAgent(long agentId) |
BuildResultsSummary |
BuildResultsSummaryManager.updateBuildSummaryFromBuildResults(BuildContext buildContext,
CurrentlyBuilding currentlyBuilding,
BuildResults buildResults)
Deprecated.
Updates BuildResultsSummary after build is completed.
|
| Modifier and Type | Method and Description |
|---|---|
List<Pair<ArtifactLink,BuildResultsSummary>> |
BuildResultsSummaryDao.findBuildResultsWithArtifacts(String planKey)
Find all build results which have matching artifacts.
|
List<BuildResultsSummary> |
BuildResultsSummaryDao.findBuildsForImageConfiguration(String planKey,
ElasticImageConfiguration elasticImageConfiguration,
BuildState buildState,
int maxResults)
Searcher for builds of an image
|
List<BuildResultsSummary> |
ResultsSummaryManager.getAllBuildResultsSummariesForAgent(Long agentId)
Returns all
BuildResultsSummary for the passed BuildAgent's id. |
Collection<BuildResultsSummary> |
BuildResultsSummaryDao.getAllInProgressBuildResultSummaries()
Returns all the
BuildResultsSummary in a LifeCycleState.IN_PROGRESS state
This will not return records marked for deletion. |
List<BuildResultsSummary> |
ResultsSummaryManager.getLastNBuildResultsSummaries(ImmutableBuildable buildable,
int numberOfResults)
Deprecated.
|
List<BuildResultsSummary> |
ResultsSummaryManager.getLatestSummariesForAgent(Long agentId,
Date fromDate)
Retrieves build summaries for agent id not older than certain date.
|
List<BuildResultsSummary> |
ResultsSummaryManager.getLatestSummariesForAgent(Long agentId,
int maxCount)
Retrieves n last build summaries for agent.
|
| Modifier and Type | Method and Description |
|---|---|
ResultsSummary |
ResultsSummaryManager.resetResultSummary(BuildResultsSummary resultsSummary)
Prepare result summry to be reuse for plan rerun
|
| Modifier and Type | Method and Description |
|---|---|
BuildResultsSummary |
TestClassResult.getBuildResultsSummary() |
BuildResultsSummary |
TestCaseResultStatisticsProvider.getBuildResultsSummary() |
BuildResultsSummary |
TestCaseSummary.getFailingSinceBuild() |
BuildResultsSummary |
TestCaseSummary.getLastRanBuild() |
BuildResultsSummary |
TestCaseSummary.getSucceedingSinceBuild() |
BuildResultsSummary |
TestsManager.getSucceedingSinceBuildResultSummary(TestCase testCase)
Find the build in which the given test has been successful since.
|
BuildResultsSummary |
TestCaseResultDao.getSucceedingSinceBuildResultSummary(TestCase testCase)
Find the build in which the given test has been successful since.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TestsManager.copyTestResultsToBuildResultsSummary(BuildResultsSummary summary,
BuildResults buildResults,
BuildContext buildContext)
Converts the test results sent back from the agent to a list of TestClassResults and attaches them to the BRS.
|
void |
TestsManager.copyTestResultsToBuildResultsSummary(Plan plan,
BuildResultsSummary summary,
List<TestResults> oldTests)
Converts a set of test results to a list of TestClassResults and attaches them to the BRS.
|
List<TestCaseResult> |
TestCaseResultDao.getQuarantinedTestCasesForBuildResult(BuildResultsSummary buildResultsSummary)
Provide a list of the quarantined tests for a build result
|
List<TestCaseResult> |
TestQuarantineManager.getQuarantinedTestsListForBuildResult(BuildResultsSummary buildResultsSummary)
Returns
List of TestCaseResult that are quarantined for a given build result. |
List<TestCaseResult> |
TestsManager.getTestsForBuildResultByDeltaState(BuildResultsSummary summary,
TestDeltaState deltaState,
int firstResult,
int maxCount)
Retrieves a list of testCaseResults for a BuildResultSummary based on their delta state (e.g BROKEN, FIXED)
|
List<TestCaseResult> |
TestsManager.getTestsForBuildResultByState(BuildResultsSummary summary,
TestState state)
Retrieves a list of testCaseResults for a BuildResultSummary based on their state (e.f FAILED or SUCCESS)
|
List<TestCaseResult> |
TestsManager.getTestsForBuildResultByState(BuildResultsSummary summary,
TestState state,
int firstResult,
int maxCount)
Retrieves a list of testCaseResults for a BuildResultSummary based on their state (e.f FAILED or SUCCESS).
|
List<TestCaseResult> |
TestCaseResultDao.getTestsForBuildResultSummary(BuildResultsSummary summary)
Retrieves a list of all testCaseResults for a BuildResultSummary
|
void |
TestsManager.repopulateTestResultsInBuildResultsSummary(Plan plan,
BuildResultsSummary summary,
List<TestResults> successfulTests) |
| Modifier and Type | Method and Description |
|---|---|
List<Pair<TestCaseResult,Integer>> |
TestsManager.getLastNFailingResults(TestCase testCase,
List<BuildResultsSummary> buildResults,
int number)
Retrieve the last n failing testResults for this given test case, but only those that occurred within the provided
build results.
|
List<Pair<TestCaseResult,Integer>> |
TestCaseResultDao.getLastNFailingResultsForTestCaseAndBuildResults(TestCase testCase,
List<BuildResultsSummary> buildResults,
int number)
Retrieve the last n failing testResults for this given test case, but only those that occurred within the provided
build results.
|
List<Pair<TestCase,Float>> |
TestsManager.getLongestToFixTestCases(List<BuildResultsSummary> buildResults)
Retrieve a list of the test cases that have taken the longest amount of time to fix.
|
List<Pair<Long,Float>> |
TestCaseDao.getLongestToFixTestCasesForBuildResults(List<BuildResultsSummary> buildResults)
Retrieve a list of the test cases that have taken the longest amount of time to fix.
|
List<Pair<TestCase,Integer>> |
TestsManager.getMostFailingTestCases(List<BuildResultsSummary> buildResults)
Provide a list of the top 10 most failing test cases for a plan.
|
List<Pair<Long,Integer>> |
TestCaseDao.getMostFailingTestCasesForBuildResults(List<BuildResultsSummary> buildResults)
Provide a list of the top 10 most failing test cases for a plan.
|
List<TestCaseResultStatisticsProvider> |
TestsManager.getResultStatistics(TestCase testCase,
List<BuildResultsSummary> buildResults)
Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case and contained within a specific
span of build result summaries.
|
List<TestCaseResultStatisticsProvider> |
TestCaseResultDao.getResultStatisticsForTestCaseAndBuilds(TestCase testCase,
List<BuildResultsSummary> buildResults)
Returns a list of wrapped TestCaseResult and BuildResultSummary for a particular test case and contained within a specific
span of build result summaries.
|
List<TestCaseResult> |
TestCaseResultDao.getTestCaseResultsForTestCaseAndBuilds(TestCase testCase,
List<BuildResultsSummary> buildResults)
Return a list of TestCaseResults for a given TestCase constrained to a specific set of Build Result Summaries
|
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.