-
Bug
-
Resolution: Not A Defect
-
Critical
-
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?