MavenReport does not contain any generated artifacts

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Critical
    • Component/s: pipeline-maven-plugin
    • Environment:
      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?

            Assignee:
            Benoit
            Reporter:
            Jens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: