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

JCasC warning log for GitSCMSource#owner

XMLWordPrintable

      (Filing this issue due to comment https://github.com/jenkinsci/configuration-as-code-plugin/issues/536#issuecomment-613242807 from jetersen)

      During Jenkins startup I get:

      WARNING i.j.p.casc.BaseConfigurator#createAttribute: Can't handle class jenkins.plugins.git.GitSCMSource#owner: type is abstract but not Describable.
      

      Based on new JCasC configuration for global shared pipeline library like this (based on manual configuration being exported via "Mange Jenkins > Conifguration as Code > View Configuration":

      ...
      unclassified:
        ...
        globalLibraries:
          libraries:
          - defaultVersion: "master"
            includeInChangesets: false
            name: "my-shared-library"
            retriever:
              modernSCM:
                scm:
                  git:
                    credentialsId: "my-jenkins-ldap"
                    remote: "https://mygit.com/jenkins-shared-library.git"
                    traits:
                    - "gitBranchDiscovery"
      ...
      

            Unassigned Unassigned
            reinholdfuereder Reinhold Füreder
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: