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

Cobertura Plugin Succeeds When It Should Fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • cobertura-plugin
    • None
    • Jenkins 2.99
      Cobertura Plugin 1.12

      When the coverage report is generated, it only fails a job for a given code state once if the coverage values are outside of the configured levels and `Mark Unhealthy as failed` is checked.

      For example, a coverage of git sha abcdef with Package Coverage set to Unhealthy below 80% and actual coverage at 73% will fail once.

      If the job is run again targeting the same git sha (abcdef) without changing the Coverage acceptance levels, the job will succeed even though Package Coverage is still at 73% and should be marked as Unhealthy (and fail).

            Unassigned Unassigned
            briauron Brian Auron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: