mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-07 00:55:59 +00:00
[FIXED HUDSON-4765] Fix broken links for failed tests on MatrixBuild page.
Also removed extra slashes in links on MatrixTestResult page. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23569 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
3963a49d2e
commit
6ebcd2d97d
2 files changed
+11
-4
No files matched your search
@@ -28,6 +28,7 @@ import hudson.model.Action;
|
||||
import hudson.matrix.MatrixBuild;
|
||||
import hudson.matrix.Combination;
|
||||
import hudson.matrix.MatrixRun;
|
||||
import hudson.tasks.junit.CaseResult;
|
||||
|
||||
/**
|
||||
* {@link Action} that aggregates all the test results from {@link MatrixRun}s.
|
||||
@@ -55,4 +56,10 @@ public class MatrixTestResult extends AggregatedTestResultAction {
|
||||
MatrixBuild b = (MatrixBuild)owner;
|
||||
return b.getRun(Combination.fromString(child.name));
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTestResultPath(CaseResult it) {
|
||||
// Prepend Configuration path
|
||||
return it.getOwner().getParent().getShortUrl() + super.getTestResultPath(it);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user