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

Complexity coverage result does not get written to console

    • 3.0.5

      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
      

          [JENKINS-50479] Complexity coverage result does not get written to console

          Matthew Odle created issue -
          Matthew Odle made changes -
          Description Original: 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!
          New: 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}
          Matthew Odle made changes -
          Description Original: 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}
          New: 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}
           
          Matthew Odle made changes -
          Description Original: 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}
           
          New: 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}
          Matthew Odle made changes -
          Description Original: 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}
          New: 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 added a comment -

          Added via 2c5b43822b4621c3d770aa4d929024a5901d9cda

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

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

              Created:
              Updated:
              Resolved: