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

MavenModuleSetBuild.mavenArtifatcs is always null

    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

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/hudson/maven/reporters/MavenArtifact.java
            src/main/java/hudson/maven/reporters/MavenArtifactRecord.java
            http://jenkins-ci.org/commit/maven-plugin/2320cc985b27abab948fff971be5813ad2bca5f8
            Log:
            JENKINS-11814 JENKINS-20487 Cleaning up dead code now that MavenArtifactArchiver does not call recordFingerprints.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/hudson/maven/reporters/MavenArtifact.java src/main/java/hudson/maven/reporters/MavenArtifactRecord.java http://jenkins-ci.org/commit/maven-plugin/2320cc985b27abab948fff971be5813ad2bca5f8 Log: JENKINS-11814 JENKINS-20487 Cleaning up dead code now that MavenArtifactArchiver does not call recordFingerprints.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            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/b28d95f4e0a0a2a64777ba7c170619bfdc107c7c
            Log:
            [FIXED JENKINS-20487] call postBuild after module build completion
            fingerprints are managed by MavenFingerprinter

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - 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/b28d95f4e0a0a2a64777ba7c170619bfdc107c7c Log: [FIXED JENKINS-20487] call postBuild after module build completion fingerprints are managed by MavenFingerprinter
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            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

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - 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

              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: