Skip to content

Commit

Permalink
[FIXED JENKINS-20785] Now works also for MatrixProject.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikedam committed Nov 27, 2013
1 parent ab76d66 commit ce58c76
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -60,7 +60,7 @@ public Authentication authenticate(Queue.Item item) {
// This handles only AbstractProject.
return null;
}
AbstractProject<?, ?> project = (AbstractProject<?,?>)item.task;
AbstractProject<?, ?> project = ((AbstractProject<?,?>)item.task).getRootProject();
AuthorizeProjectProperty prop = project.getProperty(AuthorizeProjectProperty.class);
if (prop == null) {
return null;
Expand Down

0 comments on commit ce58c76

Please sign in to comment.