Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
jgedarovich committed Dec 9, 2015
1 parent 791f6c0 commit d947f25
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>com.etsy.jenkins</groupId>
<artifactId>MasterProject</artifactId>
<version>1.1.4</version>
<version>1.1.5</version>
<packaging>hpi</packaging>

<name>Jenkins Master Project Plugin</name>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/etsy/jenkins/MasterBuild.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.etsy.jenkins;

import com.etsy.jenkins.finder.ProjectFinder;

import jenkins.model.Jenkins;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.Build;
Expand Down Expand Up @@ -144,7 +144,7 @@ public void rebuild(AbstractProject project) throws ServletException {

public void doRefreshLatestBuilds(StaplerRequest req, StaplerResponse res)
throws IOException, ServletException {
checkPermission(Permission.READ);
checkPermission(Jenkins.READ);

req.getView(this, "latestBuildList.jelly").forward(req, res);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/etsy/jenkins/MasterProject.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected Class<MasterBuild> getBuildClass() {

public void doRebuild(StaplerRequest req, StaplerResponse res)
throws IOException, ServletException {
checkPermission(Permission.READ);
checkPermission(Item.BUILD);

AbstractProject subProject = this.getSubProject(req);
MasterBuild masterBuild = this.getMasterBuild(req);
Expand Down

0 comments on commit d947f25

Please sign in to comment.