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

Upgrade apache maven-invoker-plugin to support new buildlog attribute in reports

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • maven-invoker-plugin
    • None
    • Jenkins 2.289 running in docker
      Maven-invoker-plugin 2.4 (Jenkins)
      maven-invoker-plugin 3.2.2 (Apache)

      I get this stack in Jenkins logs :

      org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unknown attribute 'buildlog' for tag 'build-job' (position: START_TAG seen .../project/target/it/dockerfile/build.log">... @2:218) 
      	at org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.checkUnknownAttribute(BuildJobXpp3Reader.java:119)
      	at org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.parseBuildJob(BuildJobXpp3Reader.java:652)
      	at org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:698)
      	at org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:553)
      	at org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:567)
      	at org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader.read(BuildJobXpp3Reader.java:596)
      	at org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder.parseReports(MavenInvokerRecorder.java:191)
      	at org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder.perform(MavenInvokerRecorder.java:135)
      Caused: java.io.IOException: Unknown attribute 'buildlog' for tag 'build-job' (position: START_TAG seen .../project/target/it/dockerfile/build.log">... @2:218) 
      	at org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder.perform(MavenInvokerRecorder.java:152)
      	at org.jenkinsci.plugins.maveninvoker.MavenInvokerRecorder.perform(MavenInvokerRecorder.java:119)
      	at org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher.executeReporter(InvokerRunsPublisher.java:141)
      	at org.jenkinsci.plugins.pipeline.maven.publishers.InvokerRunsPublisher.process(InvokerRunsPublisher.java:110)
      	at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:153)
      	at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2$WithMavenStepExecutionCallBack.finished(WithMavenStepExecution2.java:1103)
      	at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution$TailCall.lambda$onSuccess$0(GeneralNonBlockingStepExecution.java:140)
      	at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77)
      	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      

      and test results are not reported to the GUI

            olamy Olivier Lamy
            falcon benoit guerin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: