Skip to content

Commit

Permalink
Merge pull request #11 from sugonyakivan/master
Browse files Browse the repository at this point in the history
Fixed 404 error JENKINS-25534
  • Loading branch information
sugonyak committed Jun 1, 2017
2 parents bf4e7f8 + bb1a7ca commit 04ca138
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

2 comments on commit 04ca138

@kazesberger
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have a release of this plugin anytime soon? 2 PRs missing since last release in 2014.

@sugonyak
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'll try to do it ASAP #10 (comment)

Please sign in to comment.