-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: git-plugin
(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"
...