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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • jacoco-plugin
    • None

      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)

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

              Created:
              Updated:
              Resolved: