Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-20487

MavenModuleSetBuild.mavenArtifatcs is always null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • 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.

            ndeloof Nicolas De Loof
            ndeloof Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: