提交 3df13406 编写于 作者: K kohsuke

[fixed] project relationship now works correctly with nested projects like...

[fixed] project relationship now works correctly with nested projects like maven modules (issue #863)
In 1.201


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@7968 71c3de6d-444a-0410-be80-ed276b4c234a
上级 732bca61
......@@ -661,7 +661,7 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node,
public Collection<String> getJobNames() {
List<String> names = new ArrayList<String>();
for (Job j : getAllItems(Job.class))
names.add(j.getName());
names.add(j.getFullName());
return names;
}
......
......@@ -28,8 +28,8 @@
</tr>
<j:if test="${!empty(request.getParameter('lhs')) and !empty(request.getParameter('rhs'))}">
<j:set var="jl" value="${app.getJob(request.getParameter('lhs'))}" />
<j:set var="jr" value="${app.getJob(request.getParameter('rhs'))}" />
<j:set var="jl" value="${app.getItemByFullName(request.getParameter('lhs'))}" />
<j:set var="jr" value="${app.getItemByFullName(request.getParameter('rhs'))}" />
<j:choose>
<j:when test="${jl==null}">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册