need to call start() on MavenBuildProxy2 before end() - otherwise build duration is set to 40 years!

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@34055 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kutzi committed 2010-08-23 20:44:39 +00:00
1 parent ba95f0cd57
commit 0e004fa054
1 file changed
+4 -2
@@ -698,8 +698,10 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
for (Entry<ModuleName,MavenBuildProxy2> e : this.proxies.entrySet()) {
if (! buildingProjects.contains(e.getKey())) {
e.getValue().setResult(Result.NOT_BUILT);
e.getValue().end();
MavenBuildProxy2 proxy = e.getValue();
proxy.start();
proxy.setResult(Result.NOT_BUILT);
proxy.end();
}
}
}