Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/code-coverage-api-plugin
  Commit: 2c5fefa4a661af731c97c8b3f3cc802a16da9226
      
https://github.com/jenkinsci/code-coverage-api-plugin/commit/2c5fefa4a661af731c97c8b3f3cc802a16da9226
  Author: Ulli Hafner <[email protected]>
  Date:   2023-06-04 (Sun, 04 Jun 2023)

  Changed paths:
    M 
plugin/src/main/java/io/jenkins/plugins/coverage/metrics/steps/CoverageQualityGateEvaluator.java
    M 
plugin/src/test/java/io/jenkins/plugins/coverage/metrics/steps/CoverageQualityGateEvaluatorTest.java

  Log Message:
  -----------
  Convert delta fractions to percentages when used in quality gates.

Delta values are internally stored as fractions, but a user expects
them as percentages when they are displayed or used in thresholds. So
values in the range [-1, 1] are converted to percentages in the range
[-100%, 100%] before passed to the quality gate evaluation.

Fixes https://github.com/jenkinsci/code-coverage-api-plugin/issues/689


  Commit: 3c7f83238976ad32aed2f7a06b9cb20dea0528e4
      
https://github.com/jenkinsci/code-coverage-api-plugin/commit/3c7f83238976ad32aed2f7a06b9cb20dea0528e4
  Author: Ullrich Hafner <[email protected]>
  Date:   2023-06-04 (Sun, 04 Jun 2023)

  Changed paths:
    M 
plugin/src/main/java/io/jenkins/plugins/coverage/metrics/steps/CoverageQualityGateEvaluator.java
    M 
plugin/src/test/java/io/jenkins/plugins/coverage/metrics/steps/CoverageQualityGateEvaluatorTest.java

  Log Message:
  -----------
  Merge pull request #703 from jenkinsci/delta-percentage

Convert delta fractions to percentages when used in quality gates


Compare: 
https://github.com/jenkinsci/code-coverage-api-plugin/compare/74a32a770930...3c7f83238976

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/code-coverage-api-plugin/push/refs/heads/master/74a32a-3c7f83%40github.com.

Reply via email to