-
Bug
-
Resolution: Fixed
-
Major
-
None
MavenModuleSetBuild.mavenArtifatcs is supposed to return the build's MavenAggregatedArtifactRecord, but is always null
The cause is maven artifacts are recorder asynchronously (https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/reporters/MavenArtifactArchiver.java#L128)
and then MavenModuleSetBuild can't see the created MavenArtifactRecord, so never add the MavenAggregatedArtifactRecord action to the build.
- is duplicated by
-
JENKINS-11814 Maven artifact fingerprints are computed and recorded twice
-
- Resolved
-
Code changed in jenkins
User: Nicolas De Loof
Path:
src/main/java/hudson/maven/Maven3Builder.java
src/main/java/hudson/maven/reporters/MavenArtifactArchiver.java
http://jenkins-ci.org/commit/maven-plugin/0af0bb8de5a9fa7652c03776e36db7bdae000404
Log:
[FIXED JENKINS-20487] call postBuild after module build completion
fingerprints are managed by MavenFingerprinter