• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      I can't create custom RoleBasedProjectNamingStrategy, jenkins rise error:

      Error

      java.lang.ClassNotFoundException:
      org.jenkinsci.plugins.RoleBasedProjectNamingStrategy

      https://github.com/jenkinsci/jenkins/blob/a2d9bac03da99d739ecf7ce0be9ba793b93d2c88/core/src/main/java/jenkins/model/GlobalProjectNamingStrategyConfiguration.java#L49

      <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.

          [JENKINS-23127] broken ProjectNamingStrategy Extension

          Kanstantsin Shautsou created issue -
          Kanstantsin Shautsou made changes -
          Assignee New: Kanstantsin Shautsou [ integer ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Kanstantsin Shautsou made changes -
          Link New: This issue is blocking JENKINS-19934 [ JENKINS-19934 ]
          Daniel Beck made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 1.565.1-fixed
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 155458 ] New: JNJira + In-Review [ 195216 ]

            integer Kanstantsin Shautsou
            integer Kanstantsin Shautsou
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: