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

MavenReport does not contain any generated artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • pipeline-maven-plugin
    • Jenkins version 2.425, Pipeline Maven Integration Plugin version 1342.vfc697b_789147

      Since the latest update of Jenkins and the Pipeline Maven Integration Plugin the following code returns an empty list:

      Collection<org.jenkinsci.plugins.pipeline.maven.MavenArtifact> generatedArtifacts = currentBuild.rawBuild.getAction(org.jenkinsci.plugins.pipeline.maven.publishers.MavenReport.class).getGeneratedArtifacts()

      Where as before it returned a number of artifacts, including versions and filenames with date-time suffix.

      Did something change? Do we need to use another method?

            bguerin Benoit
            jenske1977 Jens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: