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.

          [JENKINS-14696] Matrix projects re-order axes on reload

          Andrew Bayer created issue -

          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

          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
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          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

          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
          Jenkins IRC Bot made changes -
          Component/s New: matrix-project [ 18765 ]
          Component/s Original: matrix [ 15501 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 145392 ] New: JNJira + In-Review [ 191466 ]

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

              Created:
              Updated:
              Resolved: