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

Failed to publish jacoco "cannot relativize" after upgrading from 1279 to 1298

XMLWordPrintable

      After upgrading, builds started getting this error:

       

      org.jenkinsci.plugins.pipeline.maven.MavenPipelineException: 1 exceptions occured within the publishers of the withMaven pipeline step:
      - Jacoco Publisher faced exception while : Cannot relativize 'target/reports/jacoco.exec' relatively to '/local/jenkins/tmp/workspace/PRODUCTNAME--VERSION'
          at org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor.processMavenSpyLogs(MavenSpyLogProcessor.java:175)
          at org.jenkinsci.plugins.pipeline.maven.WithMavenStepExecution2$WithMavenStepExecutionCallBack.finished(WithMavenStepExecution2.java:1107)
          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:829)

            Unassigned Unassigned
            nneul Nathan Neulinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: