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

New health "ball" on the overview pages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      Peter came up with a nice idea for an extra column on the main page and all the
      views.

      The extra column would be the Project "Health".

      Each plugin has the opportunity to provide a Project "Health" (probably a number
      from between 0 and 100%)

      The column will display the minimum "Health" across all the plugins that
      contributed to the build. A tooltip on the % would give the plugin that's
      complaining about low health.

      This would allow things like coverage, checkstyle, etc to be visible from the
      overview page, while not adding too many columns.

      You can then have maybe 5 ball icons covering 0-20%, 20-40%, etc with colours or
      pie sizes.

      A fancier implementation is that the sickest plugin gets to provide the icon.
      This would allow a coverage plugin to give a spark graph of coverage if the
      coverage health is the lowest, while a checkstyle plugin might just give a
      coloured "ball" if it is the lowest.

          • The key thing is that there is only one column added, not one per plugin ***

      The columns would thus be:

      S - H - Job - Last Success - Last Failure - Last Duration

      There is no need for the health to be shown in the Build History sidebar for
      each project as plugins can display the more detailed health in the project
      detail anyway.

        Attachments

          Activity

          Hide
          stephenconnolly Stephen Connolly added a comment -

          The justification is:

          The main ball is most useful, and the colours it presents should not be changed.

          This second ball (or square box, or custom icon) allows display of the worst
          metric which need not make the project unstable, but will provide visibility to
          managers and allow driving an overall improvement in the health of the project.

          Show
          stephenconnolly Stephen Connolly added a comment - The justification is: The main ball is most useful, and the colours it presents should not be changed. This second ball (or square box, or custom icon) allows display of the worst metric which need not make the project unstable, but will provide visibility to managers and allow driving an overall improvement in the health of the project.
          Hide
          stephenconnolly Stephen Connolly added a comment -

          Implemented in Hudson 1.115.

          Any plugins that want to contribute health reports must provide at least one
          Action that is descended from hudson.model.HealthReportingAction.

          AbstractTestReportAction has been changed to provide a health report based on
          the percentage of tests passing.

          Finally hudson.Job will inject a build stability health report depending on the
          percentage of the last five builds that have not failed.

          Show
          stephenconnolly Stephen Connolly added a comment - Implemented in Hudson 1.115. Any plugins that want to contribute health reports must provide at least one Action that is descended from hudson.model.HealthReportingAction. AbstractTestReportAction has been changed to provide a health report based on the percentage of tests passing. Finally hudson.Job will inject a build stability health report depending on the percentage of the last five builds that have not failed.
          Hide
          stephenconnolly Stephen Connolly added a comment -

          closing this issue

          Show
          stephenconnolly Stephen Connolly added a comment - closing this issue

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: