提交 1245a4cd 编写于 作者: K kohsuke

added probe for issue #906.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5369 71c3de6d-444a-0410-be80-ed276b4c234a
上级 65890a2f
......@@ -412,7 +412,11 @@ public final class MavenModuleSetBuild extends AbstractBuild<MavenModuleSet,Mave
void postModule(MavenProject project) throws InterruptedException, IOException, hudson.maven.agent.AbortException {
ModuleName name = new ModuleName(project);
MavenBuildProxy2 proxy = proxies.get(name);
for (MavenReporter r : reporters.get(name))
List<MavenReporter> rs = reporters.get(name);
if(rs==null) { // probe for issue #906
throw new AssertionError("reporters.get("+name+")==null. reporters="+reporters+" proxies="+proxies);
}
for (MavenReporter r : rs)
if(!r.postBuild(proxy,project,listener))
throw new hudson.maven.agent.AbortException(r+" failed");
proxy.setExecutedMojos(executedMojos.get(name));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册