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

Prototype integration between Code Coverage API and Cobertura plugin

      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
      • jeffpearce 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?

          [JENKINS-51424] Prototype integration between Code Coverage API and Cobertura plugin

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Description New: Idea: simplify Cobertura plugin by using APIs and features provided by Code Coverage API Plugin.

          Oleg Nenashev made changes -
          Description Original: Idea: simplify Cobertura plugin by using APIs and features provided by Code Coverage API Plugin.

          New: 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
          *
          Oleg Nenashev made changes -
          Description Original: 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
          *
          New: 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
          Oleg Nenashev made changes -
          Description Original: 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
          New: 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
          * [~jeffpearce] implement reporter?
          * Oleg: Migration logic for existing data


          Oleg Nenashev made changes -
          Description Original: 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
          * [~jeffpearce] implement reporter?
          * Oleg: Migration logic for existing data


          New: 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
          * [~jeffpearce] proposed to implement reporter and deprecate/remove old data model
          * Oleg: Migration logic for existing data


          Oleg Nenashev made changes -
          Description Original: 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
          * [~jeffpearce] proposed to implement reporter and deprecate/remove old data model
          * Oleg: Migration logic for existing data


          New: 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
          * [~jeffpearce] 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.
          Oleg Nenashev made changes -
          Description Original: 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
          * [~jeffpearce] 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.
          New: 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
          * [~jeffpearce] 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?


          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

          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
          Shenyu Zheng made changes -
          Epic Link New: JENKINS-51925 [ 191411 ]

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

              Created:
              Updated:
              Resolved: