mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
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:
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user