The code is (from MavenModuleSetBuild.java):
public Result getResult() {
Result r = super.getResult();
for (List<MavenBuild> list : getModuleBuilds().values())
for (MavenBuild build : list)
{
Result br = build.getResult();
if(br!=null)
r = r.combine(br);
}
return r;
}
But it seems that super.getResult() can (and does) return null (from Run.java):
/**
- Returns the build result.
*
- <p>
- When a build is
{@link #isBuilding() in progress}
, this method
- may return null or a temporary intermediate result.
*/
@Exported
public Result getResult()
{
return result;
}
The code is (from MavenModuleSetBuild.java):
public Result getResult() {
Result r = super.getResult();
for (List<MavenBuild> list : getModuleBuilds().values())
{ Result br = build.getResult(); if(br!=null) r = r.combine(br); }for (MavenBuild build : list)
return r;
}
But it seems that super.getResult() can (and does) return null (from Run.java):
/**
*
, this method
*/
@Exported
public Result getResult() { return result; }