Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11761

add coverage reports to stack-os-matrix

    Details

    • Type: Story
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Continuous Integration
    • Labels:
      None

      Description

      Add support for pytest-cov coverage reporting to stack-os-matrix. This pytest plugin has support for the Cobertura format. There is a jenkins plugin that can parse this format: https://github.com/jenkinsci/cobertura-plugin . There is not a native pipeline step for this plugin but it has been made callable. Eg.:

      step([$class: 'CoberturaPublisher', autoUpdateHealth: false, autoUpdateStability: false, coberturaReportFile: 'foo/**/*.xml', failNoReports: false, failUnhealthy: false, failUnstable: false, maxNumberOfBuilds: 0, onlyStable: false, sourceEncoding: 'ASCII', zoomCoverageChart: false])
      

      Another option is to use the publishHtml step to capture the pytest-cov HTML formatted report.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhoblitt Joshua Hoblitt
                Reporter:
                jhoblitt Joshua Hoblitt
                Watchers:
                Joshua Hoblitt, Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel