Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23127

broken ProjectNamingStrategy Extension

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: