提交 3f4d82a1 编写于 作者: K Kohsuke Kawaguchi

Adding a new item should cause the dependency graph recalculation.

For example, a new job might have a trigger setting to begin with,
or it might resolve a reference that was previously failing (for
example, 'up' job referring to 'down' job and the 'down' job is newly
created.)
上级 46b6bee1
......@@ -270,6 +270,7 @@ public abstract class ItemGroupMixIn {
}
item.save();
add(item);
Jenkins.getInstance().rebuildDependencyGraph();
if (notify)
ItemListener.fireOnCreated(item);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册