Failed to configure globalMatrix authorization strategy
See original GitHub issueJenkins version: 2.113
Plugin version: 0.5-alpha
Looks like smth with findDescribableBySymbol method.
Exception:
java.lang.IllegalArgumentException: No hudson.security.AuthorizationStrategy implementation found for globalMatrix
at org.jenkinsci.plugins.casc.HeteroDescribableConfigurator.findDescribableBySymbol(HeteroDescribableConfigurator.java:95)
at org.jenkinsci.plugins.casc.HeteroDescribableConfigurator.configure(HeteroDescribableConfigurator.java:71)
at org.jenkinsci.plugins.casc.HeteroDescribableConfigurator.configure(HeteroDescribableConfigurator.java:30)
at org.jenkinsci.plugins.casc.BaseConfigurator.configure(BaseConfigurator.java:188)
at org.jenkinsci.plugins.casc.JenkinsConfigurator.configure(JenkinsConfigurator.java:49)
at org.jenkinsci.plugins.casc.JenkinsConfigurator.configure(JenkinsConfigurator.java:27)
at org.jenkinsci.plugins.casc.ConfigurationAsCode.configureWith(ConfigurationAsCode.java:223)
at org.jenkinsci.plugins.casc.ConfigurationAsCode._configureWithPaths(ConfigurationAsCode.java:165)
at org.jenkinsci.plugins.casc.ConfigurationAsCode.configure(ConfigurationAsCode.java:127)
at org.jenkinsci.plugins.casc.ConfigurationAsCode.init(ConfigurationAsCode.java:110)
Caused: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
Caused: java.lang.Error
at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
at jenkins.model.Jenkins$5.runTask(Jenkins.java:1064)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused: org.jvnet.hudson.reactor.ReactorException
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:282)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:48)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1098)
at jenkins.model.Jenkins.<init>(Jenkins.java:900)
at hudson.model.Hudson.<init>(Hudson.java:85)
at hudson.model.Hudson.<init>(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:233)
Caused: hudson.util.HudsonFailedToLoad
at hudson.WebAppMain$3.run(WebAppMain.java:250)
jenkins.yml
jenkins:
authorizationStrategy:
globalMatrix:
grantedPermissions:
- group:
name: "anonymous"
permissions:
- "Job/Discover"
- "Job/ViewStatus"
- group:
name: "authenticated"
permissions:
- "Overall/Read"
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Why am I unable to add users in Global Configuration when ...
We are not able to add users in 'Configure Global Security' under 'Project-based Matrix Authorization Strategy'. We are getting. javax.servlet.
Read more >Matrix Authorization Strategy - Jenkins Plugins
With project-based matrix authorization, permissions are by inherited from the global configuration and any parent entities (e.g. the folder ...
Read more >How to enable Project-Based Matrix Authorization Strategy in ...
kkjavatutorials #JenkinsAbout this Video:In this video, We will learn How to enable Project-Based Matrix Authorization Strategy in Jenkins?
Read more >Jenkins Project-based Matrix Authorization won't grant Admin ...
I figured out the that the problem was with Jenkins' config.xml file which Jenkins uses to configure global security.
Read more >How to Setup User Security on Jenkins with Project Matrix ...
From the Manage Jenkins, click on “Configure Global Security Option”, ... Jenkins Project Based Matrix Authorization Strategy ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sshepel did you install the matrix-auth plugin? 😅
OMG, looks like missed it in plugins list 😦 good catch @casz and thanks for help.