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

MavenModuleSetBuild.mavenArtifatcs is always null

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            ndeloof Nicolas De Loof created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Description 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](https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/MavenModuleSetBuild.java#L564) can't see the created MavenArtifactRecord, so never add the MavenAggregatedArtifactRecord action to the build.
            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|https://github.com/jenkinsci/maven-plugin/blob/master/src/main/java/hudson/maven/MavenModuleSetBuild.java#L564] can't see the created MavenArtifactRecord, so never add the MavenAggregatedArtifactRecord action to the build.
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-11814 [ JENKINS-11814 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 152012 ] JNJira + In-Review [ 194172 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: