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

Complexity coverage result does not get written to console

    XMLWordPrintable

Details

    • 3.0.5

    Description

      Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.

       [JaCoCo plugin] Publishing the results..
       [JaCoCo plugin] Loading packages..
       [JaCoCo plugin] Done.
       [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
       [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
       [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
      

      Attachments

        Activity

          modle13 Matthew Odle created issue -
          modle13 Matthew Odle made changes -
          Field Original Value New Value
          Description Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.

           
          [JaCoCo plugin] Collecting JaCoCo coverage data...
          [JaCoCo plugin] **/**.exec;**/classes;**/src/main/java; locations are configured
          [JaCoCo plugin] Number of found exec files for pattern **/**.exec: 1
          [JaCoCo plugin] Saving matched execfiles: /path/to/project/rest/target/jacoco.exec
          [JaCoCo plugin] Saving matched class directories for class-pattern: **/classes:
          [JaCoCo plugin] - /path/to/project/client/target/classes 23 files
          [JaCoCo plugin] - /path/to/project/rest/target/classes 19 files
          [JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java:
          [JaCoCo plugin] - /path/to/project/client/target/src/main/java 18 files
          [JaCoCo plugin] - /path/to/project/rest/src/main/java 19 files
          [JaCoCo plugin] Loading inclusions files..
          [JaCoCo plugin] inclusions: []
          [JaCoCo plugin] exclusions: [/**/*client/**/*.class, /**/*client/**/*.java]
          [JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
          [JaCoCo plugin] Publishing the results..
          [JaCoCo plugin] Loading packages..
          [JaCoCo plugin] Done.
          [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
          [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
          [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
          !image-2018-03-29-10-08-02-163.png!
          Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.
          {code:java}
           [JaCoCo plugin] Collecting JaCoCo coverage data...
           [JaCoCo plugin] *
          {code}
          */**.exec;**/classes;*
          {code:java}
          */src/main/java; locations are configured
           [JaCoCo plugin] Number of found exec files for pattern *
          {code}
          */*
          {code:java}
          *.exec: 1
           [JaCoCo plugin] Saving matched execfiles: /path/to/project/rest/target/jacoco.exec
           [JaCoCo plugin] Saving matched class directories for class-pattern: **/classes:
           [JaCoCo plugin] - /path/to/project/client/target/classes 23 files
           [JaCoCo plugin] - /path/to/project/rest/target/classes 19 files
           [JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java:
           [JaCoCo plugin] - /path/to/project/client/target/src/main/java 18 files
           [JaCoCo plugin] - /path/to/project/rest/src/main/java 19 files
           [JaCoCo plugin] Loading inclusions files..
           [JaCoCo plugin] inclusions: []
           [JaCoCo plugin] exclusions: [/**/*client/**/*.class, /**/*client/**/*.java]
           [JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Publishing the results..
           [JaCoCo plugin] Loading packages..
           [JaCoCo plugin] Done.
           [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
           [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
           Unable to render embedded object: File (image-2018-03-29-10-08-02-163.png) not found.{code}
          modle13 Matthew Odle made changes -
          Description Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.
          {code:java}
           [JaCoCo plugin] Collecting JaCoCo coverage data...
           [JaCoCo plugin] *
          {code}
          */**.exec;**/classes;*
          {code:java}
          */src/main/java; locations are configured
           [JaCoCo plugin] Number of found exec files for pattern *
          {code}
          */*
          {code:java}
          *.exec: 1
           [JaCoCo plugin] Saving matched execfiles: /path/to/project/rest/target/jacoco.exec
           [JaCoCo plugin] Saving matched class directories for class-pattern: **/classes:
           [JaCoCo plugin] - /path/to/project/client/target/classes 23 files
           [JaCoCo plugin] - /path/to/project/rest/target/classes 19 files
           [JaCoCo plugin] Saving matched source directories for source-pattern: **/src/main/java:
           [JaCoCo plugin] - /path/to/project/client/target/src/main/java 18 files
           [JaCoCo plugin] - /path/to/project/rest/src/main/java 19 files
           [JaCoCo plugin] Loading inclusions files..
           [JaCoCo plugin] inclusions: []
           [JaCoCo plugin] exclusions: [/**/*client/**/*.class, /**/*client/**/*.java]
           [JaCoCo plugin] Thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Publishing the results..
           [JaCoCo plugin] Loading packages..
           [JaCoCo plugin] Done.
           [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
           [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
           Unable to render embedded object: File (image-2018-03-29-10-08-02-163.png) not found.{code}
          Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.
          {code:java}
           [JaCoCo plugin] Collecting JaCoCo coverage data...
           [JaCoCo plugin] *
          {code}
          */**.exec;**/classes;*
          {code:java}
          */src/main/java; locations are configured
           [JaCoCo plugin] Number of found exec files for pattern *
          {code}
          */*
          {code:java}
           [JaCoCo plugin] Publishing the results..
           [JaCoCo plugin] Loading packages..
           [JaCoCo plugin] Done.
           [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
           [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
           Unable to render embedded object: File (image-2018-03-29-10-08-02-163.png) not found.{code}
           
          modle13 Matthew Odle made changes -
          Description Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.
          {code:java}
           [JaCoCo plugin] Collecting JaCoCo coverage data...
           [JaCoCo plugin] *
          {code}
          */**.exec;**/classes;*
          {code:java}
          */src/main/java; locations are configured
           [JaCoCo plugin] Number of found exec files for pattern *
          {code}
          */*
          {code:java}
           [JaCoCo plugin] Publishing the results..
           [JaCoCo plugin] Loading packages..
           [JaCoCo plugin] Done.
           [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
           [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
           Unable to render embedded object: File (image-2018-03-29-10-08-02-163.png) not found.{code}
           
          Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.
          {code:java}
           [JaCoCo plugin] Collecting JaCoCo coverage data...
           [JaCoCo plugin] *
          {code}
          */**.exec;**/classes;*
          {code:java}
          */src/main/java; locations are configured
           [JaCoCo plugin] Number of found exec files for pattern *
          {code}
          */*
          {code:java}
           [JaCoCo plugin] Publishing the results..
           [JaCoCo plugin] Loading packages..
           [JaCoCo plugin] Done.
           [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
           [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
          {code}
          modle13 Matthew Odle made changes -
          Description Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.
          {code:java}
           [JaCoCo plugin] Collecting JaCoCo coverage data...
           [JaCoCo plugin] *
          {code}
          */**.exec;**/classes;*
          {code:java}
          */src/main/java; locations are configured
           [JaCoCo plugin] Number of found exec files for pattern *
          {code}
          */*
          {code:java}
           [JaCoCo plugin] Publishing the results..
           [JaCoCo plugin] Loading packages..
           [JaCoCo plugin] Done.
           [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
           [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
          {code}
          Complexity is not included in the console when jacoco is executed, yet it is included in the build results screen.
          {code:java}
           [JaCoCo plugin] Publishing the results..
           [JaCoCo plugin] Loading packages..
           [JaCoCo plugin] Done.
           [JaCoCo plugin] Overall coverage: class: 100, method: 96, line: 82, branch: 52, instruction: 86
           [JaCoCo plugin] Health thresholds: JacocoHealthReportThresholds [minClass=80, maxClass=80, minMethod=80, maxMethod=80, minLine=80, maxLine=80, minBranch=80, maxBranch=80, minInstruction=80, maxInstruction=80, minComplexity=80, maxComplexity=80]
           [JaCoCo plugin] Apply Min/Max thresholds result: FAILURE
          {code}
          centic centic added a comment -

          Added via 2c5b43822b4621c3d770aa4d929024a5901d9cda

          centic centic added a comment - Added via 2c5b43822b4621c3d770aa4d929024a5901d9cda
          centic centic made changes -
          Released As 3.0.5
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]

          People

            ognjenb Ognjen Bubalo
            modle13 Matthew Odle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: