mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
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
This commit is contained in:
1 parent
9322ba235a
commit
3bdd625bf7
5 files changed
+10
-25
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user