Skip to content

Commit f7df455

Browse files
authored
Add missing hyphen when computing branch url (#344)
1 parent 46185a5 commit f7df455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/jenkins/plugins/gitlabbranchsource/helpers/GitLabHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static UriTemplate projectUriTemplate(String serverNameOrUrl) {
106106

107107
public static UriTemplate branchUriTemplate(String serverNameOrUrl) {
108108
return getUriTemplateFromServer(serverNameOrUrl)
109-
.template("{/project*}/tree/{branch*}")
109+
.template("{/project*}/-/tree/{branch*}")
110110
.build();
111111
}
112112

0 commit comments

Comments
 (0)