提交 a4ba526d 编写于 作者: K Kohsuke Kawaguchi

[FIXED JENKINS-11636] update-job CLI command doesn't rebuild dependency.

上级 92b98ba4
......@@ -67,6 +67,9 @@ Upcoming changes</a>
<li class=bug>
Fixed a bug in Mac OS X ProcessKiller argument parsing.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-9634">issue 9634</a>)
<li class=bug>
Dependency wasn't recalculated with CLI "update-job" command.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11636">issue 11636</a>)
<li class=rfe>
Sortable table wasn't "stable" when there are same values in different rows
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-11551">issue 11551</a>)
......
......@@ -539,6 +539,7 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
// try to reflect the changes by reloading
new XmlFile(Items.XSTREAM, out.getTemporaryFile()).unmarshal(this);
onLoad(getParent(), getRootDir().getName());
Jenkins.getInstance().rebuildDependencyGraph();
// if everything went well, commit this new version
out.commit();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册