提交 3bdd625b 编写于 作者: K kohsuke

Completing the test result aggregation all the way up to the MavenModuleSet.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3021 71c3de6d-444a-0410-be80-ed276b4c234a
上级 9322ba23
......@@ -107,11 +107,6 @@ public class MavenBuild extends AbstractBuild<MavenModule,MavenBuild> {
return true;
}
@Override
public AbstractTestResultAction getTestResultAction() {
return getAction(AbstractTestResultAction.class);
}
public void registerAsProjectAction(MavenReporter reporter) {
if(projectActionReporters==null)
projectActionReporters = new ArrayList<MavenReporter>();
......
......@@ -53,12 +53,6 @@ public final class MavenModuleSetBuild extends AbstractBuild<MavenModuleSet,Mave
super(project, buildDir);
}
@Override
public AbstractTestResultAction getTestResultAction() {
// TODO
return null;
}
/**
* Displays the combined status of all modules.
*/
......
......@@ -227,9 +227,10 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
/**
* Gets {@link AbstractTestResultAction} associated with this build if any.
* <p>
*/
public abstract AbstractTestResultAction getTestResultAction();
public AbstractTestResultAction getTestResultAction() {
return getAction(AbstractTestResultAction.class);
}
/**
* Invoked by {@link Executor} to performs a build.
......
......@@ -37,11 +37,6 @@ public final class Build extends AbstractBuild<Project,Build> {
Build(Project project, File buildDir) throws IOException {
super(project,buildDir);
}
@Override
public AbstractTestResultAction getTestResultAction() {
return getAction(AbstractTestResultAction.class);
}
/**
* During the build this field remembers {@link Environment}s created by
......
......@@ -5,13 +5,6 @@
<h1>Project ${it.name}</h1>
<t:editableDescription adminOnly="true"/>
<!-- floating box -->
<div style="float:right">
<j:forEach var="a" items="${it.actions}">
<st:include page="floatingBox.jelly" from="${a}" optional="true" />
</j:forEach>
</div>
<j:choose>
<j:when test="${empty(it.modules)}">
<j:choose>
......@@ -39,6 +32,13 @@
</t:projectView>
</j:otherwise>
</j:choose>
<!-- floating box -->
<div style="float:right">
<j:forEach var="a" items="${it.actions}">
<st:include page="floatingBox.jelly" from="${a}" optional="true" />
</j:forEach>
</div>
</l:main-panel>
</l:layout>
</j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册