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

[Matrix project] Health report is not propagated to project status dashboard

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Defect
    • Component/s: analysis-core-plugin
    • Labels:
      None
    • Environment:
      master : centos x32
      slave : ubuntu 10.10 x64

      Description

      For matrix project, on project status dashboard the health report is only showing stability of build but not violations as non-matrix jobs.

      In this url : http://ci.symfony.com/

      CrossPlatformSymfony2 job shows a nice sun but it shouldn't as both configurations have violations (pmd, checkstyle, ..)

      I've discussed this issue in irc channel and got this answer by @drulli:

      [MA]Pascal: I see. Seems that the health is not propagated.
      Can you please file an issue for 'analysis-core' component?

      So do I
      Cheers,
      [MA]Pascal

        Activity

        Hide
        drulli Ulli Hafner added a comment -

        Just tried to verify your bug, however on my machine the health reports are correctly shown.

        Show
        drulli Ulli Hafner added a comment - Just tried to verify your bug, however on my machine the health reports are correctly shown.
        Hide
        drulli Ulli Hafner added a comment -

        Which versions of the plug-ins are you using?

        Did you enable health reporting for the analysis plug-ins in that job?

        Show
        drulli Ulli Hafner added a comment - Which versions of the plug-ins are you using? Did you enable health reporting for the analysis plug-ins in that job?
        Hide
        pborreli Pascal Borreli added a comment -

        Static Analysis Utilities 1.18
        Checkstyle Plug-in 3.14
        Duplicate Code Scanner Plug-in 2.14
        Hudson Violations plugin 0.7.7
        Jenkins xUnit plugin 1.16.2

        I have same job with same plugins in free-style job (not matrix) and i see the health report in dashboard.

        Show
        pborreli Pascal Borreli added a comment - Static Analysis Utilities 1.18 Checkstyle Plug-in 3.14 Duplicate Code Scanner Plug-in 2.14 Hudson Violations plugin 0.7.7 Jenkins xUnit plugin 1.16.2 I have same job with same plugins in free-style job (not matrix) and i see the health report in dashboard.
        Hide
        drulli Ulli Hafner added a comment -

        Ok, which values did you specify in the plug-in health configuration?

        Show
        drulli Ulli Hafner added a comment - Ok, which values did you specify in the plug-in health configuration?
        Hide
        pborreli Pascal Borreli added a comment -

        Are you talking about those options ?

        I didn't specified anything but the default configuration.

        Show
        pborreli Pascal Borreli added a comment - Are you talking about those options ? I didn't specified anything but the default configuration.
        Hide
        drulli Ulli Hafner added a comment -

        Aha, I see. You did not set any value for health reporting.

        I.e., if there is no value set, then no health report is created. Otherwise it would be hard to decide which warning count should be used as defaults. This depends on the requirements of a project...

        Show
        drulli Ulli Hafner added a comment - Aha, I see. You did not set any value for health reporting. I.e., if there is no value set, then no health report is created. Otherwise it would be hard to decide which warning count should be used as defaults. This depends on the requirements of a project...
        Hide
        drulli Ulli Hafner added a comment -

        If you have a better idea how to set a default value, please reopen.

        Show
        drulli Ulli Hafner added a comment - If you have a better idea how to set a default value, please reopen.
        Hide
        scm_issue_link SCM/JIRA link daemon added a comment -

        Code changed in jenkins
        User: Ulli Hafner
        Path:
        src/main/resources/util/health.properties
        src/main/resources/util/health_de.properties
        http://jenkins-ci.org/commit/analysis-core-plugin/b6fcdadfd31e218d29462c651964f508e9f87bac
        Log:
        Improved documentation of health report fields (JENKINS-9208).

        Show
        scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/resources/util/health.properties src/main/resources/util/health_de.properties http://jenkins-ci.org/commit/analysis-core-plugin/b6fcdadfd31e218d29462c651964f508e9f87bac Log: Improved documentation of health report fields ( JENKINS-9208 ).

          People

          • Assignee:
            drulli Ulli Hafner
            Reporter:
            pborreli Pascal Borreli
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: