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

hudson-jacoco-plugin crashes if jacoco didn't run

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: jacoco-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Right now the hudson-jacoco-plugin will crash if it is invoked atfter the build is done and the build didn't run jacoco. It should rather gracefully do nothing.

      The following exception occours:

      java.io.FileNotFoundException: ..../jacoco/classes (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:137)
      at org.jacoco.core.analysis.Analyzer.analyzeAll(Analyzer.java:181)
      at hudson.plugins.jacoco.ExecutionFileLoader.analyzeStructure(ExecutionFileLoader.java:110)
      at hudson.plugins.jacoco.ExecutionFileLoader.loadBundleCoverage(ExecutionFileLoader.java:116)

        Attachments

          Activity

            People

            • Assignee:
              ognjenb Ognjen Bubalo
              Reporter:
              egore911 Christoph B
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: