public class AWSDeviceFarmTestResult
extends hudson.tasks.test.TestResult
A "snapshot" of the results of an AWS Device Farm run at some point during its execution lifecycle. New result objects will be created periodically during active runs and a final object will be stored and attached to a Jenkins run, once it has completed.
| Constructor and Description | 
|---|
AWSDeviceFarmTestResult(hudson.model.AbstractBuild<?,?> build,
                       com.amazonaws.services.devicefarm.model.Run run)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doDurationGraph(org.kohsuke.stapler.StaplerRequest request,
               org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the number of device minutes used in a test run, for the previous three Jenkins runs. 
 | 
void | 
doGraph(org.kohsuke.stapler.StaplerRequest request,
       org.kohsuke.stapler.StaplerResponse response)
Create the graph image for the number of pass/warn/fail results in a test run, for the previous three Jenkins runs. 
 | 
hudson.tasks.test.TestResult | 
findCorrespondingResult(String id)
Returns the AWS Device Farm test result for the given id. 
 | 
String | 
getBuildNumber()  | 
hudson.model.Result | 
getBuildResult(Boolean ignoreRunError)
Return a Jenkins build result which matches the result status from AWS Device Farm. 
 | 
String | 
getDisplayName()  | 
float | 
getDuration()  | 
int | 
getErrorCount()  | 
int | 
getFailCount()  | 
String | 
getName()  | 
hudson.model.AbstractBuild<?,?> | 
getOwner()  | 
hudson.tasks.test.TestObject | 
getParent()  | 
int | 
getPassCount()  | 
AWSDeviceFarmTestResult | 
getPreviousResult()
Return the AWS Device Farm result of the most recent build which contained an AWS Device Farm run. 
 | 
protected List<AWSDeviceFarmTestResult> | 
getPreviousResults()
Return a list of all AWS Device Farm results from all builds previous to the build that this result is tied to. 
 | 
protected List<AWSDeviceFarmTestResult> | 
getPreviousResults(int n)
Return a list of up to (n) of the most recent/previous AWS Device Farm results. 
 | 
String | 
getProject()  | 
String | 
getReportUrl()  | 
String | 
getRunId()  | 
String | 
getSearchUrl()  | 
int | 
getSkipCount()  | 
String | 
getStatus()  | 
int | 
getStopCount()  | 
int | 
getTotalCount()  | 
int | 
getWarnCount()  | 
Boolean | 
isCompleted()
Return true if this result is "completed". 
 | 
Boolean | 
isEmpty()  | 
annotate, getBuildResult, getErrorDetails, getErrorStackTrace, getFailedSince, getFailedSinceRun, getFailedTests, getParentAction, getPassedTests, getResultInRun, getSkippedTests, getStderr, getStdout, getTitle, isPassed, setParent, setParentAction, tally, toPrettyStringdoSubmitDescription, getApi, getDescription, getDurationString, getDynamic, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getResultInBuild, getSafeName, getTestAction, getTestActions, getTestResult, getTestResultAction, getTopLevelTestResult, getUrl, safe, setDescription, uniquifyNamepublic AWSDeviceFarmTestResult(hudson.model.AbstractBuild<?,?> build,
                               com.amazonaws.services.devicefarm.model.Run run)
public void doGraph(org.kohsuke.stapler.StaplerRequest request,
                    org.kohsuke.stapler.StaplerResponse response)
             throws IOException
request - response - IOExceptionpublic void doDurationGraph(org.kohsuke.stapler.StaplerRequest request,
                            org.kohsuke.stapler.StaplerResponse response)
                     throws IOException
request - response - IOExceptionpublic AWSDeviceFarmTestResult getPreviousResult()
getPreviousResult in class hudson.tasks.test.TestResultprotected List<AWSDeviceFarmTestResult> getPreviousResults(int n)
n - number of results requestedprotected List<AWSDeviceFarmTestResult> getPreviousResults()
public String getReportUrl()
public String getRunId()
public String getBuildNumber()
public String getStatus()
public String getProject()
public Boolean isCompleted()
public hudson.model.Result getBuildResult(Boolean ignoreRunError)
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
findCorrespondingResult in class hudson.tasks.test.TestObjectid - test result IDpublic int getPassCount()
getPassCount in class hudson.tasks.test.TestResultpublic int getWarnCount()
public int getFailCount()
getFailCount in class hudson.tasks.test.TestResultpublic int getStopCount()
public int getErrorCount()
public int getSkipCount()
getSkipCount in class hudson.tasks.test.TestResultpublic int getTotalCount()
getTotalCount in class hudson.tasks.test.TestObjectpublic float getDuration()
getDuration in class hudson.tasks.test.TestResultpublic Boolean isEmpty()
public hudson.tasks.test.TestObject getParent()
getParent in class hudson.tasks.test.TestObjectpublic hudson.model.AbstractBuild<?,?> getOwner()
getOwner in class hudson.tasks.junit.TestObjectpublic String getDisplayName()
public String getName()
getName in class hudson.tasks.test.TestObjectpublic String getSearchUrl()
getSearchUrl in interface hudson.search.SearchItemgetSearchUrl in class hudson.tasks.test.TestObjectCopyright © 2016–2025. All rights reserved.