Skip to content

Please add support for the new Jenkins code-coverage plugin #11689

Open

Description

@markshep

The support for generating badges from Jenkins code coverage reports only supports old/deprecated Jenkins plugins. The deprecated plugins have been replced with coverage-plugin.

Please could you add support for that?

Activity

  1. PyvesB commented on Mar 7, 2026

    @PyvesB
    Member

    Hello @markshep 👋🏻 Do you have an example of Jenkins job that uses this plugin?

  2. martontorner-cs commented on Mar 19, 2026

    @martontorner-cs

    We’d also really appreciate support for the newer Jenkins coverage-plugin.

    I can share an example url and payload (trimmed to the relevant parts):

    https://[domain]/job/[redacted]/job/[redacted]/job/master/132/tests/api/json

    {
      "_class": "io.jenkins.plugins.coverage.metrics.restapi.CoverageApi",
      "projectStatistics": {
        "branch": "31.39%",
        "file": "53.27%",
        "instruction": "70.69%",
        "line": "70.69%",
        "loc": "6554",
        "method": "65.36%",
        "module": "100.00%",
        "package": "92.50%"
      },
      "qualityGates": {
        "overallResult": "INACTIVE",
        "resultItems": []
      },
      "referenceBuild": "-"
    }
  3. PyvesB commented on Mar 21, 2026

    @PyvesB
    Member

    My impression is that this should already be supported:

    We'd need an example Jenkins job to validate whether it's working or not, tweak the implementation if need-be, and base new automated tests on.

  4. added 3 commits that reference this issue on Apr 10, 2026
    559a99d
    922c182
    1a0c05f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions