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

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

              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: