Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Similar Issues:
Description
I can't create custom RoleBasedProjectNamingStrategy, jenkins rise error:
Error
java.lang.ClassNotFoundException:
org.jenkinsci.plugins.RoleBasedProjectNamingStrategy
<jglick> KostyaSha: #L49 is to blame; should use PluginManager.uberClassLoader. But the whole logic here is probably overcomplicated; Stapler ought to find and bind the class automatically if invoked right.
Attachments
Issue Links
- is blocking
-
JENKINS-19934 Add "Job Create" permission to project roles
-
- In Progress
-
Code changed in jenkins
User: Kanstantsin Shautsou
Path:
core/src/main/java/jenkins/model/GlobalProjectNamingStrategyConfiguration.java
http://jenkins-ci.org/commit/jenkins/afe7da541642e40d60982d459e2802ae81357e34
Log:
[FIXED JENKINS-23127] Allow loading classes from plugins.
(cherry picked from commit 9568986efb1f435ca2c95422c57fcf579c8bf222)