Skip to content

Commit

Permalink
Merge pull request jenkinsci#368 from slaunay/bugfix/no-test-results-…
Browse files Browse the repository at this point in the history
…found

Fix "No test results found" in Github build status
  • Loading branch information
DavidTanner committed Nov 23, 2015
2 parents 8abdd4f + 68b97e2 commit 50a7132
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Result;
import hudson.tasks.test.AbstractTestResultAction;
import hudson.tasks.junit.TestResult;
import hudson.tasks.junit.TestResultAction;
import hudson.tasks.junit.CaseResult;
import hudson.tasks.test.AggregatedTestResultAction;
import hudson.tasks.test.AggregatedTestResultAction.ChildReport;
Expand Down Expand Up @@ -172,7 +172,7 @@ protected String getAggregatedTestResults(AbstractBuild<?, ?> build) {

public String getOneLineTestResults() {

TestResultAction testResultAction = build.getAction(TestResultAction.class);
AbstractTestResultAction testResultAction = build.getAction(AbstractTestResultAction.class);

if (testResultAction == null) {
return "No test results found.";
Expand Down

0 comments on commit 50a7132

Please sign in to comment.