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

Reports published for Clover plugin for multibranch pipelines are displayed in the individual job. Should be in the branch.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • clover-plugin
    • None

      I have a multibranch pipeline in which I am publishing clover coverage report using DSL step below. The coverage reports are generated, but the reports appear in the job run page instead of the branch page for the multibranch job.

      Is there some additional parameters needed for the CloverPublisher to indicate at which level the reports should be posted?

       

      step([
      $class: 'CloverPublisher',
      cloverReportDir: './linuxintegrationcoverage/clover.xml',
      cloverReportFileName: 'clover.xml',
      healthyTarget: [methodCoverage: 70, conditionalCoverage: 70, statementCoverage: 70]
      unhealthyTarget: [methodCoverage: 69, conditionalCoverage: 69, statementCoverage: 69]
      failingTarget: [methodCoverage: 50, conditionalCoverage: 50, statementCoverage: 50] 
      ])

            Unassigned Unassigned
            peternhale Pete Hale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: