提交 e64f7c48 编写于 作者: D dvrzalik

Items.load(...) use project directory name as a parameter for onLoad() and I...

Items.load(...) use project directory name as a parameter for onLoad() and I think here it should be done the same way. Otherwise maven modules fail to load incoming config.xml.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7887 71c3de6d-444a-0410-be80-ed276b4c234a
上级 75166003
......@@ -794,7 +794,7 @@ public abstract class Job<JobT extends Job<JobT,RunT>, RunT extends Run<JobT,Run
// try to reflect the changes by reloading
new XmlFile(Items.XSTREAM, out.getTemporaryFile()).unmarshal(this);
onLoad(getParent(),getName());
onLoad(getParent(),getRootDir().getName());
// 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.
先完成此消息的编辑!
想要评论请 注册