-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Linux: Amazon Linux 2023.4.20240611 (also tried ubuntu20 and ubuntu22, same issue)
Jenkins: 2.332.2-1.1
"role-strategy" plugin: 3.2.0
Dear Export,
I had installed Jenkins 2.332 and plugin "rolestrategy@3.2.0", then configure the plugin with a groovy script located at $JENKINS_HOME/init.groovy.d/init.03.3.roles_and_permissions.groovy.
But after restart jenkins, jenkins failed to run, I get error log from jenkins log:
java.lang.NoSuchMethodException: com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy.assignRole(java.lang.String, com.michelin.cio.hudson.plugins.rolestrategy.Role,java.lang.String)
I attached 2 files to this ticket:
groovy configuration: "init.03.3.roles_and_permissions.groovy" (line 673 caused the issue)
error log: "jenkins.log"
May I check if i can get some help for your side, thank you.