java.io.IOException: <workspace>/report.xml is not a cobertura coverage report, please check your report pattern

Stack Overflow | RBT | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    go code coverage report in Jenkins with cobertura plugin

    Stack Overflow | 8 months ago | RBT
    java.io.IOException: <workspace>/report.xml is not a cobertura coverage report, please check your report pattern

    Root Cause Analysis

    1. java.io.IOException

      <workspace>/report.xml is not a cobertura coverage report, please check your report pattern

      at hudson.plugins.cobertura.CoberturaPublisher$ParseReportCallable.invoke()
    2. hudson.plugins.cobertura
      CoberturaPublisher$ParseReportCallable.invoke
      1. hudson.plugins.cobertura.CoberturaPublisher$ParseReportCallable.invoke(CoberturaPublisher.java:566)
      2. hudson.plugins.cobertura.CoberturaPublisher$ParseReportCallable.invoke(CoberturaPublisher.java:536)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:1018)
      2. hudson.FilePath.act(FilePath.java:996)
      2 frames
    4. hudson.plugins.cobertura
      CoberturaPublisher.perform
      1. hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:343)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      6. hudson.model.Run.execute(Run.java:1766)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:410)
      9 frames