Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed 404 error JENKINS-25534
  • Loading branch information
isugonyak authored and isugonyak committed Jun 1, 2017
1 parent bf4e7f8 commit bb1a7ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pom.xml
Expand Up @@ -21,6 +21,11 @@
</licenses>

<developers>
<developer>
<id>sugonyak_ivan</id>
<name>Ivan Sugonyak</name>
<email>sugonyak.ivan@gmail.com</email>
</developer>
<developer>
<id>jessicaaustin</id>
<name>Jessica Austin</name>
Expand Down
Expand Up @@ -93,7 +93,8 @@ public String getDisplayName() {
}

public String getUrlName() {
return project.getACL().hasPermission(AbstractProject.BUILD) ? URL_NAME : null;
project.checkPermission(BuildableItem.BUILD);
return URL_NAME;
}

//////////////////
Expand Down

0 comments on commit bb1a7ca

Please sign in to comment.