提交 3bfeda46 编写于 作者: A Andrew Bayer

[FIXED JENKINS-14696] Don't automatically re-sort matrix axes in alphanumeric order on reload

上级 ce35c26b
......@@ -55,7 +55,9 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=bug>
Matrix configuration axes are no longer automatically re-ordered to alphanumeric order on reload.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-14696">issue 14696</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -466,7 +466,6 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im
@Override
public void onLoad(ItemGroup<? extends Item> parent, String name) throws IOException {
super.onLoad(parent,name);
Collections.sort(axes); // perhaps the file was edited on disk and the sort order might have been broken
builders.setOwner(this);
publishers.setOwner(this);
buildWrappers.setOwner(this);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册