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

JCasC warning log for GitSCMSource#owner

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

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

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            reinholdfuereder Reinhold F├╝reder
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: