code: @Override
      public synchronized void process(StepContext context, Element mavenSpyLogsElt) throws IOException, InterruptedException {
          Run<?, ?> run = context.get(Run.class);
          // we replace instead of because we want to refresh the cache org.jenkinsci.plugins.pipeline.maven.publishers.MavenReport.getGeneratedArtifacts()
          run.addOrReplaceAction(new MavenReport(run));
      }
docs: Synchronize because {@link Run#addOrReplaceAction(hudson.model.Action)} is not thread safe