mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 05:52:26 +00:00
[FIXED HUDSON-2041] Fixed a possible NPE in parallel module builds in Maven. In 1.237
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@10899 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
623e991c11
commit
9cf38c5ad0
1 file changed
+3
-1
@@ -314,7 +314,9 @@ public class MavenBuild extends AbstractBuild<MavenModule,MavenBuild> {
|
||||
}
|
||||
|
||||
public void registerAsAggregatedProjectAction(MavenReporter reporter) {
|
||||
getParentBuild().registerAsProjectAction(reporter);
|
||||
MavenModuleSetBuild pb = getParentBuild();
|
||||
if(pb!=null)
|
||||
pb.registerAsProjectAction(reporter);
|
||||
}
|
||||
|
||||
public void setExecutedMojos(List<ExecutedMojo> executedMojos) {
|
||||
|
||||
Reference in new issue
Block a user