• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • cobertura-plugin
    • None

        [JENKINS-25056] cobertura plugin should support REST

        When you attempt http::/job/#/api/xml you get an empty container

        <coverageResult><results/></coverageResult>

        Greg Moncreaff added a comment - When you attempt http::/job/#/api/xml you get an empty container <coverageResult><results/></coverageResult>

        would expect at min the project summary metrics to be retrievable:

        1. covered / # total => percent covered for each of package, files, classes, lines, conditionals

        Greg Moncreaff added a comment - would expect at min the project summary metrics to be retrievable: covered / # total => percent covered for each of package, files, classes, lines, conditionals

        Issa Ashwash added a comment -

        If you add a depth option to your URL you will get deeper into the tree. '/cobertura/api/xml?depth=3'

        Issa Ashwash added a comment - If you add a depth option to your URL you will get deeper into the tree. '/cobertura/api/xml?depth=3'

        compared with some other plugins

        • warnings.gcc (no depth needed)
        • cppcheck (no depth needed)
        • sloccount (no depth needed)

        Would suggest that some basic summary info be present at the top level (no depth indication required), and that the user (as documented in the plugin) can specify additional depth if they need more than the overall rollup summary

        Greg Moncreaff added a comment - compared with some other plugins warnings.gcc (no depth needed) cppcheck (no depth needed) sloccount (no depth needed) Would suggest that some basic summary info be present at the top level (no depth indication required), and that the user (as documented in the plugin) can specify additional depth if they need more than the overall rollup summary

        Last two releases (separated by over a year) were by olivergondza so looks like the maintainer

        Stephen Connolly added a comment - Last two releases (separated by over a year) were by olivergondza so looks like the maintainer

          Unassigned Unassigned
          moncreaff Greg Moncreaff
          Votes:
          0 Vote for this issue
          Watchers:
          4 Start watching this issue

            Created:
            Updated: