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

Prototype integration between Code Coverage API and Cobertura plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Idea: simplify Cobertura plugin by using APIs and features provided by Code Coverage API Plugin.

      Idea:

      • Cobertura plugin benefits from features we offer in the plugin
      • There is no breaking changes
      • Jeff Pearce proposed to implement reporter and deprecate/remove old data model
      • Oleg: Migration logic for existing data

      Acceptance criteria:

      • Transparent to users:
        • cobertura() Pipeline step and Cobertura Build Step start contributing to Code Coverage API data model
        • existing data is compatible or automatically migrated

      We need to design this ticket. Open questions:

      • How do we implement it? Maybe switches to enable API/UI? Duplicate data in the in-memory model? ...
      • Could we simplify the data model somehow
      • Which parts of Cobertura plugin do we deprecate?

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment - - edited

          Other approach:

          • Offer CodeCoverageAPIAction interface to Code Coverage API with "toNewModel()"
          • Each action should be able to produce new data model using this method
          • CodeCoverageAPI scans for all such CodeCoverageAPIAction reports in builds

          Tricky thing: data cachiing

          Show
          oleg_nenashev Oleg Nenashev added a comment - - edited Other approach: Offer CodeCoverageAPIAction interface to Code Coverage API with "toNewModel()" Each action should be able to produce new data model using this method CodeCoverageAPI scans for all such CodeCoverageAPIAction reports in builds Tricky thing: data cachiing
          Hide
          jeffpearce Jeff Pearce added a comment -

          Released in version 1.13

          Show
          jeffpearce Jeff Pearce added a comment - Released in version 1.13

            People

            • Assignee:
              cizezsy Shenyu Zheng
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: