MavenReport does not contain any generated artifacts

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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?

            Assignee:
            Benoit
            Reporter:
            Jens
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: