Skip to content
Permalink
Browse files

[FIXED JENKINS-20785] Now works also for MatrixProject.

  • Loading branch information
ikedam committed Nov 27, 2013
1 parent ab76d66 commit ce58c76dbc26ea87773c09af32833a1498ffc382
@@ -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;

0 comments on commit ce58c76

Please sign in to comment.
You can’t perform that action at this time.