Did you paste the entire script? The stack trace mentions line 41...

On 13.11.2014, at 20:34, Sam Xiao <sam.xs.x...@gmail.com> wrote:

> Hello all,
> 
> I was setting authorization strategy using groovy , so I can put it in the 
> `init.groovy` as part of the Jenkins master setup.
> 
> I was having some error on "no such property", so I wasn't sure what and how 
> it got into that:
> 
> groovy.lang.MissingPropertyException: No such property: Permission[class 
> hudson.model.Hudson,Administer] for class: 
> hudson.security.ProjectMatrixAuthorizationStrategy
> 
> My code here:
> gist
> 
> Thanks in advance for any help provided.
> 
> Thanks,
> Sam.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to