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

Sort by duration sorts alphabetically instead of numerically

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: junit-plugin
    • Labels:
      None
    • Environment:
      Windows XP, Hudson 1.363
    • Similar Issues:

      Description

      With a multi-configuration project, durations for the different configurations are listed as "3 min 15 sec", "1 hr 30 min", etc. When sorting by duration, the sort is done alphabetically instead of numerically. See attached screenshot.

      Expected sort order: 2 min 46 sec, 3 min 52 sec, 3 hr 31 min
      Actual sort order: 2 min 46 sec, 3 hr 31 min, 3 min 52 sec

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/resources/hudson/tasks/test/MatrixTestResult/index.jelly
          http://jenkins-ci.org/commit/32584
          Log:
          [FIXED JENKINS-6923] add data attribute with numeric duration for proper sorting

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/resources/hudson/tasks/test/MatrixTestResult/index.jelly http://jenkins-ci.org/commit/32584 Log: [FIXED JENKINS-6923] add data attribute with numeric duration for proper sorting
          Hide
          mindless Alan Harder added a comment -

          I think this is what you reported.. hard to tell from your description/screenshot, but the only place I found these columns was "Test Results" for a matrix job (though that table has more columns than your screenshot).

          Show
          mindless Alan Harder added a comment - I think this is what you reported.. hard to tell from your description/screenshot, but the only place I found these columns was "Test Results" for a matrix job (though that table has more columns than your screenshot).
          Hide
          chibimagic chibimagic added a comment -

          Yeah, that's where it is. I just cropped the other columns out of the screenshot.

          Show
          chibimagic chibimagic added a comment - Yeah, that's where it is. I just cropped the other columns out of the screenshot.

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              chibimagic chibimagic
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: