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

This issue is archived. You can view it, but you can't modify it. Learn more

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)

            Assignee:
            Unassigned
            Reporter:
            Nathan Neulinger
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: