Skip to content

Commit 98f0fdf

Browse files
authored
Merge pull request #65 from jglick/CCE
Fixing ClassCastException found by PCT
2 parents c7e3072 + 3d9eac4 commit 98f0fdf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/java/hudson/tasks/test/MatrixTestResult.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public MatrixTestResult() {}
5252
*/
5353
@Override
5454
protected String getChildName(AbstractTestResultAction tr) {
55-
return ((MatrixBuild)tr.run).getProject().getName();
55+
return tr.run.getParent().getName();
5656
}
5757

5858
@Override
@@ -64,7 +64,7 @@ public AbstractBuild<?,?> resolveChild(Child child) {
6464
@Override
6565
public String getTestResultPath(TestResult it) {
6666
// Prepend Configuration path
67-
return it.getOwner().getParent().getShortUrl() + super.getTestResultPath(it);
67+
return it.getRun().getParent().getShortUrl() + super.getTestResultPath(it);
6868
}
6969

7070
/* We are required to override and call super since the parent class is in

0 commit comments

Comments
 (0)