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

Matrix projects re-order axes on reload

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When a MatrixProject is loaded, the axes are re-ordered with Collections.sort - see https://github.com/jenkinsci/jenkins/blob/80a3f1fe0c87e18c113c05a1a9ac55a04f5d1b49/core/src/main/java/hudson/matrix/MatrixProject.java#L469

      But it's distinctly possible that one would want to have the axes ordered in a specific way, regardless of alphanumeric sorting. I'm honestly not sure if there's ever a case where we would actually want to force a re-ordering. I'd think that line should be removed.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          changelog.html
          core/src/main/java/hudson/matrix/MatrixProject.java
          http://jenkins-ci.org/commit/jenkins/3bfeda469c5778215f44dfb084f364da96c7dbf6
          Log:
          [FIXED JENKINS-14696] Don't automatically re-sort matrix axes in alphanumeric order on reload

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: changelog.html core/src/main/java/hudson/matrix/MatrixProject.java http://jenkins-ci.org/commit/jenkins/3bfeda469c5778215f44dfb084f364da96c7dbf6 Log: [FIXED JENKINS-14696] Don't automatically re-sort matrix axes in alphanumeric order on reload
          Hide
          dogfood dogfood added a comment -

          Integrated in jenkins_main_trunk #1842
          [FIXED JENKINS-14696] Don't automatically re-sort matrix axes in alphanumeric order on reload (Revision 3bfeda469c5778215f44dfb084f364da96c7dbf6)

          Result = SUCCESS
          Andrew Bayer : 3bfeda469c5778215f44dfb084f364da96c7dbf6
          Files :

          • changelog.html
          • core/src/main/java/hudson/matrix/MatrixProject.java
          Show
          dogfood dogfood added a comment - Integrated in jenkins_main_trunk #1842 [FIXED JENKINS-14696] Don't automatically re-sort matrix axes in alphanumeric order on reload (Revision 3bfeda469c5778215f44dfb084f364da96c7dbf6) Result = SUCCESS Andrew Bayer : 3bfeda469c5778215f44dfb084f364da96c7dbf6 Files : changelog.html core/src/main/java/hudson/matrix/MatrixProject.java

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: