Skip to content
Browse files

[JENKINS-32178] Remove URL child prefix override.

By removing the prefix override, links to the sub-projects
on custom views will use the default "job", allowing the
views' existing Stapler URL bindings to correctly load the
page for the item.
  • Loading branch information...
mjdetullio committed May 24, 2016
1 parent 394c563 commit 02e6a0010d94d2b8d913ef9a43de961c81bb061e
Showing with 2 additions and 9 deletions.
  1. +2 −9 src/main/java/jenkins/branch/
@@ -420,7 +420,9 @@ public P getItem(String name) {
* @param name the name of the branch
* @return the named branch job or {@code null} if no such branch exists.
* @deprecated use {@link #getItem(String)} or {@link #getJob(String)} directly
@SuppressWarnings("unused")// by stapler for URL binding
public P getBranch(String name) {
@@ -452,15 +454,6 @@ public boolean hasPermission(Authentication a, Permission permission) {
private static final Set<Permission> SUPPRESSED_PERMISSIONS = ImmutableSet.of(Item.CONFIGURE, Item.DELETE, View.CONFIGURE, View.CREATE, View.DELETE);

* {@inheritDoc}
public String getUrlChildPrefix() {
return "branch";

* {@inheritDoc}

0 comments on commit 02e6a00

Please sign in to comment.
You can’t perform that action at this time.